mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-28 11:10:51 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27832 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
962f660ada
commit
afb6e09fe8
3 changed files with 4 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
||||||
* configure.ac: Check for new GC_allow_register_threads() function.
|
* configure.ac: Check for new GC_allow_register_threads() function.
|
||||||
* Source/NSThread.m: Attempt to fix thread registration for GC.
|
* Source/NSThread.m: Attempt to fix thread registration for GC.
|
||||||
* Source/NSObject.m: Initialise finalize on mingw as well as unix.
|
* Source/NSObject.m: Initialise finalize on mingw as well as unix.
|
||||||
|
* Source/NSZone.m: Remove unnecessary casts.
|
||||||
|
|
||||||
2009-02-09 Matt Rice <ratmice@gmail.com>
|
2009-02-09 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -756,7 +756,7 @@ gnustep_base_thread_callback(void)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
result = GC_register_my_thread(base);
|
result = GC_register_my_thread(&base);
|
||||||
if (result != GC_SUCCESS && result != GC_DUPLICATE)
|
if (result != GC_SUCCESS && result != GC_DUPLICATE)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Argh ... no thread support in garbage collection library\n");
|
fprintf(stderr, "Argh ... no thread support in garbage collection library\n");
|
||||||
|
|
|
@ -1918,10 +1918,10 @@ GSAssignZeroingWeakPointer(void **destination, void *source)
|
||||||
}
|
}
|
||||||
if (*destination != 0)
|
if (*destination != 0)
|
||||||
{
|
{
|
||||||
GC_unregister_disappearing_link((GC_PTR*)destination);
|
GC_unregister_disappearing_link(destination);
|
||||||
}
|
}
|
||||||
*destination = source;
|
*destination = source;
|
||||||
GC_general_register_disappearing_link((GC_PTR*)destination, source);
|
GC_general_register_disappearing_link(destination, source);
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue