summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-04-23 19:06:45 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-04-23 19:06:45 +0000
commitf93b4edd807be1c6102dad09f884828c27c4a58b (patch)
tree137d9c548c5e8c0dcbd6c3a76c121b5ce06ff663 /run.c
parentb35b24033ff5a2171d5dc795e027358506aa01ff (diff)
downloadperl-f93b4edd807be1c6102dad09f884828c27c4a58b.tar.gz
Added programmer-level condition variables via "condpair" magic.
Added support for detached threads and tweaked a few things. p4raw-id: //depot/thrperl@8
Diffstat (limited to 'run.c')
-rw-r--r--run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.c b/run.c
index dd178b9348..3be9825660 100644
--- a/run.c
+++ b/run.c
@@ -55,7 +55,7 @@ runops() {
DEBUG_t(debop(op));
DEBUG_P(debprof(op));
#ifdef USE_THREADS
- DEBUG_L(pthread_yield()); /* shake up scheduling a bit */
+ DEBUG_L(YIELD()); /* shake up scheduling a bit */
#endif /* USE_THREADS */
}
} while ( op = (*op->op_ppaddr)(ARGS) );