cross-thread locking

Dag-ErlingSmørgrav des at des.no
Fri Feb 20 05:08:49 PST 2004


- What happens when a thread locks a mutex and then starts another
  thread?  Does the new thread in any way inherit the lock, or will it
  have to acquire its own?

- What about spin locks?  Are there any semantic differences between
  mutexes and spin locks in POSIX, or are spin locks simply mutexes
  that spin instead of sleeping?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-threads mailing list