Hi, Is there a way to determine whether the currently-executing thread is attached to the GC? I *could* call GC_register_my_thread and switch on the return value, but this feels like a very dirty hack, since in the non-DUPLICATE case, I need to detach the thread again... Thanks in advance! Regards, Alex