summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-14 22:04:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-14 22:04:58 +0000
commit2d63e3e140948d3d027cbbf76f121ae5d9c2fa6f (patch)
tree21068467e062aa49fa127017a1d135666bb91b4c /thread.h
parentdc0502853eaa4689351eeccc4becf89ec85060e0 (diff)
parent3d57aefb538705242f5ab4c3d9d854139b302aba (diff)
downloadperl-2d63e3e140948d3d027cbbf76f121ae5d9c2fa6f.tar.gz
Integrate mainline changes into win32 branch. Now would be a good time
to reverse integrate the win32 branch into mainline. p4raw-id: //depot/win32/perl@253
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.h b/thread.h
index dbfb56b078..2b8e636966 100644
--- a/thread.h
+++ b/thread.h
@@ -204,7 +204,7 @@ struct thread {
U8 Tlocalizing;
COP * Tcurcop;
- CONTEXT * Tcxstack;
+ PERL_CONTEXT * Tcxstack;
I32 Tcxstack_ix;
I32 Tcxstack_max;
@@ -242,10 +242,10 @@ typedef struct thread *Thread;
#define THRf_ZOMBIE 3
#define THRf_DEAD 4
-#define THRf_DIE_FATAL 8
+#define THRf_DID_DIE 8
/* ThrSTATE(t) and ThrSETSTATE(t) must only be called while holding t->mutex */
-#define ThrSTATE(t) ((t)->flags)
+#define ThrSTATE(t) ((t)->flags & THRf_STATE_MASK)
#define ThrSETSTATE(t, s) STMT_START { \
(t)->flags &= ~THRf_STATE_MASK; \
(t)->flags |= (s); \