Fennel: /home/pub/open/dev/fennel/synch/SXMutex.h File Reference (original) (raw)

An SXMutex implements a standard readers/writers exclusion scheme: any number of shared-lock threads may hold the lock at one time, during which time exclusive-lock threads are blocked; only one exclusive-lock thread may hold the lock at a time, during which all other lock-requesting threads are blocked. More...