mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Minor thread fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14609 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31cc95eea9
commit
f7d1a66144
2 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
|||
* Source/NSCalendarDate.m: Tidy up a little.
|
||||
* Source/NSTimeZone.m: Rewrite main timezone code for performance -
|
||||
Roughly doubles speed of most NSCalendarDate stuff.
|
||||
* NSThread.m: Fix for single threaded operation ... suggested by
|
||||
Ludovic Marcotte.
|
||||
|
||||
2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -249,8 +249,9 @@ gnustep_base_thread_callback()
|
|||
*/
|
||||
if (objc_thread_detach(@selector(_sendThreadMethod), thread, nil) == NULL)
|
||||
{
|
||||
/* This should probably be an exception */
|
||||
NSLog(@"Unable to detach thread (unknown error)");
|
||||
entered_multi_threaded_state = NO;
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Unable to detach thread (unknown error)"];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue