mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
a8955ba8c1
commit
e1c37a2dcf
2 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
||||||
* Source/NSCalendarDate.m: Tidy up a little.
|
* Source/NSCalendarDate.m: Tidy up a little.
|
||||||
* Source/NSTimeZone.m: Rewrite main timezone code for performance -
|
* Source/NSTimeZone.m: Rewrite main timezone code for performance -
|
||||||
Roughly doubles speed of most NSCalendarDate stuff.
|
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>
|
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)
|
if (objc_thread_detach(@selector(_sendThreadMethod), thread, nil) == NULL)
|
||||||
{
|
{
|
||||||
/* This should probably be an exception */
|
entered_multi_threaded_state = NO;
|
||||||
NSLog(@"Unable to detach thread (unknown error)");
|
[NSException raise: NSInternalInconsistencyException
|
||||||
|
format: @"Unable to detach thread (unknown error)"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue