Branch: Tag:

1996-10-05

1996-10-05 03:18:07 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

mutex locks re-implemented to allow more dynamic usage

Rev: src/threads.c:1.2
Rev: src/threads.h:1.3

21:   #define mt_unlock(X) pthread_mutex_unlock(X)   #define mt_destroy(X) pthread_mutex_destroy(X)    - extern MUTEX_T interpreter_lock, compiler_lock; + extern MUTEX_T interpreter_lock;      #define th_create(ID,fun,arg) pthread_create(ID,&pattr,fun,arg)   #define th_exit(foo) pthread_exit(foo)