Why not?
Consider a producer-consumer situation. Producer and consumer would be different threads, acting on the whims of common semaphore.
- durga
From: Shyam Burkule <shyam.burkule@xxxxxxxxx>
To: "kernelnewbies@xxxxxxxxxxxx" <kernelnewbies@xxxxxxxxxxxx>
Sent: Saturday, March 21, 2009 12:00:56 AM
Subject: semaphore ownership
Hello All,
Is it possible to take semaphore in one thread and release it in another thread?
Thanks
Shyam