[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems_semaphore_obtain
- Date: Fri, 23 Mar 2007 10:18:05 -0500
- From: norume at aps.anl.gov (Eric Norum)
- Subject: rtems_semaphore_obtain
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