Branch: Tag:

2000-04-26

2000-04-26 14:46:21 by Martin Stjernholm <mast@lysator.liu.se>

Make sure CHECK_INTERPRETER_LOCK always is defined.

Rev: src/threads.h:1.91

1:   /* -  * $Id: threads.h,v 1.90 2000/04/25 22:35:20 mast Exp $ +  * $Id: threads.h,v 1.91 2000/04/26 14:46:21 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H
289:   #define mt_unlock_interpreter() (mt_unlock(&interpreter_lock))   #define co_wait_interpreter(COND) do {co_wait((COND), &interpreter_lock);} while (0)    - #define CHECK_INTERPRETER_LOCK() do {} while (0) -  +    #endif      extern COND_T live_threads_change; /* Used by _disable_threads */
677:      #endif /* PIKE_THREADS */    + #ifndef CHECK_INTERPRETER_LOCK + #define CHECK_INTERPRETER_LOCK() do {} while (0) + #endif +    #ifdef __NT__   #ifndef PIKE_DEBUG   #define CheckValidHandle(X) (X)