Commit graph

10 commits

Author SHA1 Message Date
gcasa
da7701eb6f * Source/synchronization.m: Corrected header text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29114 72102866-910b-0410-8b05-ffd578937521
2009-12-11 06:42:12 +00:00
theraven
e772c54dfa Added weak attribute to the synchronization functions so that they won't replace equivalent functions provided by the runtime, if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28611 72102866-910b-0410-8b05-ffd578937521
2009-09-05 18:49:48 +00:00
gcasa
ce0637c863 * Headers/Additions/GNUstepBase/GSVersionMacros.h: Add
defines for earlier version of Mac OS X back to 10.0.
	* Source/synchronization.m: Correct a problem found during testing.
	* Testing/synctest/main.m: Updated test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27136 72102866-910b-0410-8b05-ffd578937521
2008-11-26 15:06:06 +00:00
rfm
0246a2e9c3 Synchronization fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26938 72102866-910b-0410-8b05-ffd578937521
2008-10-19 10:49:08 +00:00
gcasa
56a2cbadc5 * Source/synchronization.m: Remove uneeded objc_sync_remove_node
function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26894 72102866-910b-0410-8b05-ffd578937521
2008-09-30 02:52:29 +00:00
rfm
6c64292edc don't block entire data structure while locking node
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26884 72102866-910b-0410-8b05-ffd578937521
2008-09-27 05:54:27 +00:00
rfm
c643e68daf Tidied and fixed some locking order bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26879 72102866-910b-0410-8b05-ffd578937521
2008-09-26 07:33:33 +00:00
gcasa
cf7c8f009c Remove free at the end of the objc_sync_exit to prevent issues with freeing the node and then retrieving it from the data structure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26878 72102866-910b-0410-8b05-ffd578937521
2008-09-25 04:57:43 +00:00
gcasa
b6f7e0da8b * Source/synchronization.m: Correct issue in objc_sync_remove_node()
method where it could do a NULL dereference.  Also moved the locks on
	the tables to the highest level so to reduce the possibility of
	threading issues.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26877 72102866-910b-0410-8b05-ffd578937521
2008-09-25 04:55:42 +00:00
gcasa
500adbbfd3 Add @synchronize support. The synchronize.m file will be committed to GCC as soon as Andrew P. looks at it and it is tested fully. I am committing it here for cases where the compiler can parse @synchronize, but doesn't have the necessary functions in the runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26869 72102866-910b-0410-8b05-ffd578937521
2008-09-24 04:38:27 +00:00