Commit graph

19 commits

Author SHA1 Message Date
Richard Frith-MacDonald
3a8be51077 NSThread bugfix in sleeping
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3591 72102866-910b-0410-8b05-ffd578937521
1999-01-26 09:00:20 +00:00
Adam Fedor
52f6bc90ae Makefile changes to compile thinkg in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3496 72102866-910b-0410-8b05-ffd578937521
1998-12-20 21:27:47 +00:00
Adam Fedor
1981f6a34b Remove redundant classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2861 72102866-910b-0410-8b05-ffd578937521
1998-07-21 17:56:48 +00:00
Adam Fedor
f8e6d9b280 New class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2811 72102866-910b-0410-8b05-ffd578937521
1998-06-16 13:52:57 +00:00
Adam Fedor
88cbc598e5 Various fixes, Frith-MacDonald, others.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2805 72102866-910b-0410-8b05-ffd578937521
1998-05-29 15:25:41 +00:00
Adam Fedor
fe472a3a71 Changes from Frith-Macdonald, NSLock fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2791 72102866-910b-0410-8b05-ffd578937521
1998-04-20 14:13:19 +00:00
Adam Fedor
722df94d6e Implementation of sleepUntilDate:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2790 72102866-910b-0410-8b05-ffd578937521
1998-04-15 14:26:44 +00:00
Adam Fedor
5ad4c23b77 Use cvs export to make snapshots/dists. Minor patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2742 72102866-910b-0410-8b05-ffd578937521
1998-02-09 19:06:40 +00:00
Scott Christley
369c38280a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
Scott Christley
4a99922d47 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
Adam Fedor
25afcc3594 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
Andrew McCallum
8a77b79ada Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Feb 4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2205 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:56:37 +00:00
Andrew McCallum
c5b0cb101c Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20,21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2203 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:51:04 +00:00
Andrew McCallum
52441fecef Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
Andrew McCallum
e1d2073668 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1608 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:13:58 +00:00
Andrew McCallum
80414d5ff3 (NSBecomingMultiThreaded, NSThreadExiting): Initialize the
notification strings as static strings, not in +initialize.
(thread_id_2_nsthread): Renamed from THREAD_LIST.  Keep the collection
of NSThread's as a maptable, not a NSArray that takes linear time to
search!
(thread_lock): Renamed from THREAD_LIST_LOCK.
(entered_multi_threaded_state): Renamed from ENTERED_MULTI-THREADED_STATE.
([NSThread +initialize]): Don't initialize notification strings here.
Don't autorelease the lock!
([NSThread -init]): Initialize _thread_autorelease_pool.  Set our
thread data to self, for easy, efficient access to this NSThread
object later.  Put ourselves in the thread collection here, not in
+detach...
([NSThread +currentThread]): This will be called often and needs to be
fast.  Reimplemented so we don't have to acquire a lock and step
through an NSArray of threads; instead, just look ourselves up with
the objc_thread_get_data(), and furthermore, no lock required.
([NSThread +detachNewThreadSelector:toTarget:withObject:]): Avoid race
condition, don't create new NSThread object here.
([NSThread +sleepUntilDate:]): Call -notImplemented:.
([NSThread +exit]): Properly post NSThreadExiting notification, making
sure not to hold the lock while we do so.  Get the NSThread object
efficiently.
([NSThread -threadId]): Removed unnecessary private method.
([NSThread -setThreadId]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1530 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:53:36 +00:00
Andrew McCallum
889c412539 Preparation for thread-safety.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1517 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:38:45 +00:00
Andrew McCallum
2dfd45f9ec Fix indentation.
([NSThread +currentThread]): Add parenthesis around assignment inside
while.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1213 72102866-910b-0410-8b05-ffd578937521
1996-03-19 01:45:25 +00:00
Andrew McCallum
c8de6a4002 New files from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@914 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:40:05 +00:00