Branch: Tag:

1998-01-02

1998-01-02 08:18:43 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfixes

Rev: src/configure.in:1.146
Rev: src/threads.c:1.49
Rev: src/threads.h:1.23

151:      #endif /* SGI_SPROC_THREADS */    +  + #ifdef NT_THREADS + #include <process.h> +  + #define MUTEX_T HANDLE + #define mt_init(X) + #define mt_lock(X) + #define mt_trylock(X) + #define mt_unlock(X) + #define mt_destroy(X) +  + #define THREAD_T HANDLE + #define th_setconcurrency(X) + #define th_create(ID,fun,arg) _beginthreadex(NULL, 2*1024*1024, fun, arg, 0, ID) + #define th_exit(foo) _endthreadex(foo) + #define th_self() +  + #endif +    extern MUTEX_T interpreter_lock;