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 |
|
/* |
895 |
|
* Run a function under GC control in a thread that was not created |
896 |
|
* through the gc routines. |
897 |
|
* (for example by a thrid party library that does a callback). |
898 |
|
*/ |
899 |
|
GC_API void *GC_run_thread(void *(*thread_func)(void *), void *arg); |
900 |
|
|
901 |
#endif /* THREADS && !SRC_M3 */ |
#endif /* THREADS && !SRC_M3 */ |
902 |
|
|
903 |
#if defined(GC_WIN32_THREADS) |
#if defined(GC_WIN32_THREADS) |
936 |
# endif |
# endif |
937 |
# endif /* defined(_WIN32_WCE) */ |
# endif /* defined(_WIN32_WCE) */ |
938 |
|
|
939 |
|
/* |
940 |
|
* Run a function under GC control in a thread that was not created |
941 |
|
* through the gc routines. |
942 |
|
* (for example by a thrid party library that does a callback). |
943 |
|
*/ |
944 |
|
GC_API void *GC_run_thread(LPTHREAD_START_ROUTINE thread_func, LPVOID arg); |
945 |
|
|
946 |
#endif /* defined(GC_WIN32_THREADS) && !cygwin */ |
#endif /* defined(GC_WIN32_THREADS) && !cygwin */ |
947 |
|
|
948 |
/* |
/* |