mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-27 10:40:50 +00:00
forward declaration. * Headers/Additions/GNUstepBase/GSCategories.h: Remove declaraion of gnustep_global_lock. (GS_INITIALIZED_LOCK): New macro. (+[NSLock newLockAt:]): New method. (+[NSRecursiveLock newLockAt:]): Ditto. * Headers/Foundation/NSLock.h: Ditto. * Source/Additions/GSCategories.m: Replace global lock with local lock. (_GSLockInitializer): New class to initialize local lock safely. (newLockAt): New static function shared by +newLockAt: implementations to safely intialize lock variables. (+[NSLock newLockAt:]): Implemented and documented. (+[NSRecursiveLock newLockAt:]): Ditto. * Source/Additions/GSCompatibility.m: Remove gnustep_global_lock. * Source/Additions/GSObjCRuntime.m: Remove superfluous locking. * Source/Additions/Unicode.m: Use new GS_INITIALIZED_LOCK macro and replace global lock with local lock. * Source/NSLock.m (-[NSConditionLock lockWhenCondition:beforeDate:]): Implemented. * Testing/gslock.m: New test case. * Testing/GNUmakefile: Add new test case. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18010 72102866-910b-0410-8b05-ffd578937521 |
||
---|---|---|
.. | ||
English.lproj | ||
.cvsignore | ||
.gdbinit | ||
awake.m | ||
basic.m | ||
benchmark.m | ||
call.m | ||
coder.m | ||
containers.m | ||
diningPhilosophers.m | ||
fref.m | ||
GNUmakefile | ||
gslock.m | ||
gstcpport-client.m | ||
gstcpport-server.m | ||
heap.m | ||
LoadMe.h | ||
LoadMe.m | ||
Makefile.postamble | ||
Makefile.preamble | ||
MyCategory.h | ||
MyCategory.m | ||
nsarchiver.m | ||
nsarray.m | ||
nsattributedstring.m | ||
nsbundle.m | ||
nscharacterset.m | ||
nsconnection.m | ||
nsconnection_client.m | ||
nsconnection_server.m | ||
NSData-test.m | ||
nsdata.m | ||
nsdate.m | ||
nsdictionary.m | ||
nsfilehandle.m | ||
nsfilemanager.m | ||
nshashtable.m | ||
nshost.m | ||
nsinvocation.m | ||
nsmaptable.m | ||
nsnotification.m | ||
nsprocessinfo.m | ||
nsscanner.m | ||
nsset.m | ||
nstask.m | ||
nstimer.m | ||
nstimezone.m | ||
nxst.m | ||
oldserver.h | ||
prepend.m | ||
randoms.m | ||
README | ||
release.m | ||
SecondClass.h | ||
SecondClass.m | ||
server.h | ||
string.m | ||
tcpport-client.m | ||
tcpport-server.m | ||
thread-except.m | ||
thread.m | ||
values.m | ||
wgetopt.h |
These tests are mostly just samples of code that developers put together to do quick checks to make sure things are working. This is not a comprehensive test suite. Some tests don't say if they have passed or not. Some tests do not even output anything. Some tests never quit! If you want to run a comprehensive testsuite. Install gnustep-guile (ftp://ftp.gnustep.org/pub/gnustep/libs) and run the gnustep testsuite (ftp://ftp.gnustep.org/pub/gnustep/tests).