On Sat, 24 Mar 2007, matze wrote: > El Sat, Mar 24, 2007 at 07:13:32AM -0400 Robert P. J. Day ha dit: > > > > > regarding the properties of the "mutex" locking mechanism, the file > > Documentation/mutex-design.txt claims: > > > > ... > > Disadvantages > > ------------- > > > > The stricter mutex API means you cannot use mutexes the same way you > > can use semaphores: e.g. they cannot be used from an interrupt > > context, ... > > > > but i thought semaphores *also* can't be used from interrupt > > context. or am i somehow misreading this? thanks. > > semaphores can be given/released ('up'-operation), but not be > taken/acquired ('down') in interrupt context ah, so i was misreading it -- i thought that passage meant that you couldn't use semaphores *at all*. thanks. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ