Commit graph

2 commits

Author SHA1 Message Date
Frederik Seiffert
abfe4e2a04 Use native threading and locking APIs on Windows
Removes dependency on pthread library and uses fast Slim Reader/Writer (SRW) locks for NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being used for all internal locking instead of pthread APIs.

Also adds support for thread priorities on Windows, fixes method signature of +[NSThread setThreadPriority:] to match Apple platforms, and adds error handling in same method.
2021-07-29 14:22:27 +02:00
Richard Frith-MacDonald
cf0e598b62 link with pthread library on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39468 72102866-910b-0410-8b05-ffd578937521
2016-03-05 19:36:27 +00:00