Commit graph

78 commits

Author SHA1 Message Date
CaS
5978eda5cf Fix problem with lazy locks by setting multithreaded bool earlier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18839 72102866-910b-0410-8b05-ffd578937521
2004-03-12 16:51:30 +00:00
wim
b15ca262ac ([GSPerformHolder +initialize]): #ifdef'ed out
code that does not work on MinGW.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18727 72102866-910b-0410-8b05-ffd578937521
2004-03-01 10:12:56 +00:00
ayers
a48526dca9 * Headers/Foundation/NSLock.h: Make types of _mutex and
_condition opaic to avoid including private thr-mach.h header.
        * Headers/Foundation/NSThread.h: Do not include private
	thr-mach.h header.
        * Source/thr-mach.h: Moved here from
        Headers/Additions/GNUstepBase/thr-mach.h.
        * Source/NSLock.m: Include private thr-mach.h header for
        apple-gnu-gnu.  Added defines for typing opaic instance
        variables and use them in various methods.
        * Source/NSThread.m: Include private thr-mach.h header for
        apple-gnu-gnu.
        * Source/thr-mach.m: Include private thr-mach.h header from
	new location.
        * Source/thr-pthread.m: Ditto.
        * Source/GNUmakefile: Do not install private thr-mach.h
	header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18607 72102866-910b-0410-8b05-ffd578937521
2004-02-17 12:55:02 +00:00
uid66829
12d2a05aa8 (+detachNewThreadSelector:toTarget:withObject:): Don't set entered_multi_threaded_state to NO if the objc_thread_detach call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18262 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:41:38 +00:00
CaS
c7551b0431 Improve warning messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17758 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:57:49 +00:00
CaS
5401a03dd3 Thread safety fix ... ensure notifications are sent before we become
multithrteaded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17757 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:19:03 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
778c3a3c7c Fix thread memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17336 72102866-910b-0410-8b05-ffd578937521
2003-07-25 09:27:44 +00:00
CaS
7e4ef0cdc9 lockBeforeDate improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17263 72102866-910b-0410-8b05-ffd578937521
2003-07-20 06:37:25 +00:00
CaS
8a854b2141 Improve code for sleeping a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17244 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:00:31 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
CaS
917cd26e5d Tidyup categories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16478 72102866-910b-0410-8b05-ffd578937521
2003-04-17 06:20:17 +00:00
CaS
55417b22c7 Complete documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16375 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:57:00 +00:00
CaS
37c0d9a9aa Document update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16373 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:21:59 +00:00
CaS
f06c0dea4f Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:14:50 +00:00
CaS
278469e140 Fix race condition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15268 72102866-910b-0410-8b05-ffd578937521
2002-12-08 20:18:34 +00:00
CaS
7709cd9dc8 Patch by Tom Koelman
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14985 72102866-910b-0410-8b05-ffd578937521
2002-11-13 15:12:39 +00:00
CaS
634003bdcf Remove unused includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14912 72102866-910b-0410-8b05-ffd578937521
2002-11-03 19:47:27 +00:00
CaS
5d30f03b94 Improve documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14911 72102866-910b-0410-8b05-ffd578937521
2002-11-03 19:09:39 +00:00
CaS
d76c484957 Fix version forgotten in commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14910 72102866-910b-0410-8b05-ffd578937521
2002-11-03 18:56:46 +00:00
pyr
6bf1893998 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
  method existes.
* Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
  class.
  ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
  lock, the socket and new run loop watcher that'll listen on the socket.
  ([NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
  modified to use the previous changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14906 72102866-910b-0410-8b05-ffd578937521
2002-11-02 16:53:48 +00:00
CaS
82947875f2 Tidy to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14877 72102866-910b-0410-8b05-ffd578937521
2002-10-30 13:15:07 +00:00
CaS
9076227a18 Fix retain/release problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14875 72102866-910b-0410-8b05-ffd578937521
2002-10-30 12:37:21 +00:00
CaS
4c5360c308 Implemented new MacOS-X methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14874 72102866-910b-0410-8b05-ffd578937521
2002-10-30 07:45:59 +00:00
CaS
e1c37a2dcf Minor thread fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14609 72102866-910b-0410-8b05-ffd578937521
2002-09-30 17:19:35 +00:00
CaS
5cc3b34731 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14376 72102866-910b-0410-8b05-ffd578937521
2002-08-30 12:30:50 +00:00
CaS
8be710069a Add thread priority and checking for selectors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14356 72102866-910b-0410-8b05-ffd578937521
2002-08-27 17:02:05 +00:00
CaS
b0d816ceaa Documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14298 72102866-910b-0410-8b05-ffd578937521
2002-08-20 10:22:05 +00:00
CaS
393abdf85c Macos-X implementation compatibility changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14242 72102866-910b-0410-8b05-ffd578937521
2002-08-07 13:29:31 +00:00
CaS
fd76f80aaf Thread bug fix for jigs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13584 72102866-910b-0410-8b05-ffd578937521
2002-05-03 10:00:53 +00:00
CaS
a085710883 Some thread safety checks added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13583 72102866-910b-0410-8b05-ffd578937521
2002-05-03 08:17:04 +00:00
CaS
79f3f57034 Fixes to get stuff to work after autoconf changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13578 72102866-910b-0410-8b05-ffd578937521
2002-05-02 21:22:06 +00:00
CaS
36dd6aad2f Fix blocking in run loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12567 72102866-910b-0410-8b05-ffd578937521
2002-02-20 06:42:05 +00:00
nico
0927a53e7d Use @defs to access NSThread ivars from functions otherwise gcc 3.1 won't
compile it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11831 72102866-910b-0410-8b05-ffd578937521
2001-12-19 03:24:13 +00:00
CaS
d4b9683acf Added date version and title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11814 72102866-910b-0410-8b05-ffd578937521
2001-12-18 16:54:15 +00:00
CaS
d7e28f6deb Many minor fixes for autogsdoc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
2001-12-17 14:31:42 +00:00
fedor
b786b93998 New strerror-like function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10043 72102866-910b-0410-8b05-ffd578937521
2001-05-31 22:39:16 +00:00
nico
e557cb2ee9 Removed obsolete methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9559 72102866-910b-0410-8b05-ffd578937521
2001-04-11 16:50:25 +00:00
nico
3db7c2593a Post the NSThreadWillExit notification when unregistering alien threads
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9450 72102866-910b-0410-8b05-ffd578937521
2001-03-19 13:15:10 +00:00
nico
2d97ccb6b4 Methods to register/unregister an alien thread turned into functions
for maximum thread safety


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9449 72102866-910b-0410-8b05-ffd578937521
2001-03-19 12:20:21 +00:00
CaS
161e75b1e3 Thread deallocation fix ... retry deallocation of dictionary if it gets
re-used during thread deallocation.  If it still persists, leak memory
and log the problem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9425 72102866-910b-0410-8b05-ffd578937521
2001-03-17 10:18:09 +00:00
fedor
c8df7edc13 Remove runtime.h include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9334 72102866-910b-0410-8b05-ffd578937521
2001-03-12 02:52:16 +00:00
fedor
92f9b03239 Check if objc_thread_add in runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9320 72102866-910b-0410-8b05-ffd578937521
2001-03-10 21:36:03 +00:00
richard
6c5c018c86 Thread fixes for NSConnection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8174 72102866-910b-0410-8b05-ffd578937521
2000-11-22 08:41:07 +00:00
richard
ada3326d42 dded nicolas NSThread additions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8080 72102866-910b-0410-8b05-ffd578937521
2000-11-12 07:41:24 +00:00
fedor
a051ddd885 Merge 0.6.6 branch into main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7187 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:00:31 +00:00
fedor
93f1bc859a Mingw update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6666 72102866-910b-0410-8b05-ffd578937521
2000-06-12 05:17:41 +00:00
richard
9868efd88c Fix retain error in uniquing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6483 72102866-910b-0410-8b05-ffd578937521
2000-04-19 12:29:17 +00:00
fedor
302c691e79 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
richard
4970d3c023 Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4588 72102866-910b-0410-8b05-ffd578937521
1999-07-14 17:16:56 +00:00