projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e6abe6d
)
Flush buffers on thread closedown.
Artur Bergman [Thu, 27 Sep 2001 08:53:00 +0000 (08:53 +0000)]
p4raw-id: //depot/perl@12244
ext/threads/threads.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/threads/threads.xs
b/ext/threads/threads.xs
index
cbfcd1f
..
5caedbe
100755
(executable)
--- a/
ext/threads/threads.xs
+++ b/
ext/threads/threads.xs
@@
-56,6
+56,7
@@
void* Perl_thread_run(void * arg) {
}
MUTEX_LOCK(&thread->mutex);
+ PerlIO_flush((PerlIO*)NULL);
perl_destruct(thread->interp);
perl_free(thread->interp);
if(thread->detached == 1) {