mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-09 15:50:59 +00:00
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.
8 lines
185 B
Text
8 lines
185 B
Text
|
|
ifneq ($(GNUSTEP_TARGET_OS), mingw32)
|
|
ifneq ($(GNUSTEP_TARGET_OS), mingw64)
|
|
ifneq ($(GNUSTEP_TARGET_OS), windows)
|
|
ADDITIONAL_TOOL_LIBS += -lpthread
|
|
endif
|
|
endif
|
|
endif
|