El Sat, Mar 21, 2009 at 12:00:56AM +0530 Shyam Burkule ha dit:

>              Is it possible to take semaphore in one thread and release it in
>    another thread?

sure, what isn't possible is doing the same with a mutex.

depending on the use of your semaphore a completion might be the
better choice.

-- 
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

             "The only important thing Windows does better
            than Debian is implementing the win32 platform"
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to