rtems_semaphore_obtain

Eric Norum norume at aps.anl.gov
Fri Mar 23 15:18:05 UTC 2007


On Mar 23, 2007, at 9:14 AM, Sergei Organov wrote:


>
> Besides, it will allow to get rid of current run-time dispatch of  
> every
> operation on either mutex or semaphore between kernel mutex and
> semaphore code, respectively.

Perhaps I misunderstand this statement.

The semantics of a strict priority scheduler require that unlocking a  
mutex perform a check to see whether a higher priority task is  
blocked waiting for that mutex -- if so a task switch is required.   
Does your statement imply some either kind of operation?

-- 
Eric Norum <norume at aps.anl.gov>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793





More information about the users mailing list