mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
cc0956733b
pthread_t type and use 0 to indicate a lock has no owner. Added a 'locked' boolean field explicitly to PRLock. In PRMonitor, make the owner field a PRThread* pointer, with a value of NULL indicating that the monitor has no owner. Thanks to Takis Psarogiannakopoulos for reporting this bug and spending a year (off and on) tracking it down. Modified files: _pth.h, primpl.h, and ptsynch.c.