891 |
/* in returned list. */ |
/* in returned list. */ |
892 |
extern void GC_thr_init(); /* Needed for Solaris/X86 */ |
extern void GC_thr_init(); /* Needed for Solaris/X86 */ |
893 |
|
|
894 |
|
#if !defined(GC_WIN32_THREADS) |
895 |
/* |
/* |
896 |
* Run a function under GC control in a thread that was not created |
* Run a function under GC control in a thread that was not created |
897 |
* through the gc routines. |
* through the gc routines. |
898 |
* (for example by a thrid party library that does a callback). |
* (for example by a thrid party library that does a callback). |
899 |
*/ |
*/ |
900 |
GC_API void *GC_run_thread(void *(*thread_func)(void *), void *arg); |
GC_API void *GC_run_thread(void *(*thread_func)(void *), void *arg); |
901 |
|
#endif |
902 |
|
|
903 |
#endif /* THREADS && !SRC_M3 */ |
#endif /* THREADS && !SRC_M3 */ |
904 |
|
|