summaryrefslogtreecommitdiff
path: root/ext/threads
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-19 04:56:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-19 04:56:16 +0000
commit1fea7ed3cfe8a61b554a3465cf83a59887a94018 (patch)
treedff63c36f513299fdc7bdd97c9be8cb1af687d1b /ext/threads
parent6dfd2d0514085d4203b8b22a3be051e3dd47f61f (diff)
downloadperl-1fea7ed3cfe8a61b554a3465cf83a59887a94018.tar.gz
Nekkid numbers.
p4raw-id: //depot/perl@19565
Diffstat (limited to 'ext/threads')
-rwxr-xr-xext/threads/threads.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs
index 34b5822b58..a03ec3cc7c 100755
--- a/ext/threads/threads.xs
+++ b/ext/threads/threads.xs
@@ -746,7 +746,7 @@ BOOT:
thread->tid = tid_counter++;
known_threads++;
active_threads++;
- thread->state = 1;
+ thread->state = PERL_ITHR_DETACHED;
#ifdef WIN32
thread->thr = GetCurrentThreadId();
#else