Is it necessary to disable thread dispatching while functions of timer message are called ?

Tom ventureg at 163.com
Mon Sep 1 00:25:50 UTC 2014


Hi all,
 
Is it necessary to disable thread dispatching while functions of timer message semaphore are called ?
 
For example ,  when  the function `rtems_message_queue_send' is called,  thread dispatching will be disabled due to
the _Object_Get call.
 
So unless  `rtems_message_queue_send'  is finished,  other threads with higher priorities will not be allowed to run.
 
Is this necessary ?  And why ?
 
Regards
 
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140901/43e3ff41/attachment.html>


More information about the users mailing list