pike.git/
src/
threads.h
Branch:
Tag:
Non-build tags
All tags
No tags
1998-06-25
1998-06-25 14:50:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>
98759dd9db54c7565d32a288d8fc5bbef31b2b07 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added prototypes for disabling of threads.
Rev: src/threads.h:1.43
1:
/*
-
* $Id: threads.h,v 1.
42
1998/
04
/
30
16
:
31
:
20
hubbe
Exp $
+
* $Id: threads.h,v 1.
43
1998/
06
/
25
14
:
50
:
25
grubba
Exp $
*/ #ifndef THREADS_H #define THREADS_H
440:
struct object *thread_for_id(THREAD_T tid); void f_all_threads(INT32 args);
+
void init_threads_disable(struct object *o);
+
void exit_threads_disable(struct object *o);
+
/* Prototypes end here */ #else
461:
#define th_self() ((void*)0) #define co_signal(X) #define co_broadcast(X)
+
+
#define init_threads_disable(X)
+
#define exit_threads_disable(X)
+
#endif /* _REENTRANT */ #ifdef __NT__