pike.git/
src/
threads.h
Branch:
Tag:
Non-build tags
All tags
No tags
2003-03-31
2003-03-31 18:20:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>
3225a678cac72975c556e28db4e40437b84253d5 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.2
Backported some SWAP_OUT_THREAD() paranoia from Pike 7.5.
Rev: src/threads.h:1.118
1:
/*
-
* $Id: threads.h,v 1.
117
2003/
01
/
08
18:
11
:
03
mast
Exp $
+
* $Id: threads.h,v 1.
118
2003/
03
/
31
18:
20
:
14
grubba
Exp $
*/ #ifndef THREADS_H #define THREADS_H
465:
(_tmp)->swapped=1; \ DO_IF_PROFILING( (_tmp)->time_base += gethrtime() ; ) \ SWAP_OUT_TRACE(_tmp); \
+
Pike_interpreter.thread_id = (struct object *) (ptrdiff_t) -1; \
} while(0) #define SWAP_IN_THREAD(_tmp) do { \