guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] don't GC unregister null thread


From: Mike Gran
Subject: [PATCH 2/2] don't GC unregister null thread
Date: Tue, 29 Mar 2011 22:03:53 -0700 (PDT)

Hi-

(First attempt at sending returned an error, so I hope this isn't a 
double-post.)
 
GC_unregister_my_thread is only supposed to be called from
a thread other than the main thread, so, it should never be
called when the system is compiled with null threads.

* libguile/threads.c (on_thread_exit)[SCM_USE_NULL_THREADS]: don't
    call GC_unregister_my_thread

Thanks,

Mike

Attachment: 0002-don-t-GC-unregister-null-thread.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]