2009-08-01 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
authorhboehm <hboehm>
Sat, 1 Aug 2009 18:01:22 +0000 (18:01 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:45 +0000 (21:06 +0400)
commitab93e03de3ede2dfecd14654679ea63a059ce255
tree9069ea7e5ec716a4b2525640495378d2c94e5d2d
parent23e0bb3d9bbf408f62bca95ad624beca232e3db9
2009-08-01  Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
diff100_cvs (diff51 and diff55, partly)

* pthread_support.c (GC_allow_register_threads): New API function.
        * win32_threads.c (GC_allow_register_threads): Ditto.
        * include/gc.h (GC_allow_register_threads): New API prototype.
        * include/gc.h (GC_register_my_thread, GC_unregister_my_thread):
        Update the comments.
        * pthread_support.c (GC_register_my_thread): Check the collector
        is in the multi-threaded mode.
        * win32_threads.c (GC_register_my_thread): Ditto.
ChangeLog
include/gc.h
pthread_support.c
win32_threads.c