Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 14:08:41 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        threads@freebsd.org
Subject:   cross-thread locking
Message-ID:  <xzp8yix7vae.fsf@dwp.des.no>

next in thread | raw e-mail | index | archive | help
- 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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp8yix7vae.fsf>