summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-07-24 14:57:53 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-07-24 14:57:53 +0000
commit12ca11f6c16e7b63e13bbf5bc251f214e8de5211 (patch)
tree2ad63340b2a0d6974dbb2bbf088695113f3c49b4 /cv.h
parentf2134d958aef4e3c1a25fdd268452df90105e99b (diff)
downloadperl-12ca11f6c16e7b63e13bbf5bc251f214e8de5211.tar.gz
Start support for fake threads.
pp_lock now returns its argument. p4raw-id: //depot/perl@41
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cv.h b/cv.h
index 97dfeb6f6d..1e6b8de77a 100644
--- a/cv.h
+++ b/cv.h
@@ -29,9 +29,9 @@ struct xpvcv {
AV * xcv_padlist;
CV * xcv_outside;
#ifdef USE_THREADS
- pthread_mutex_t * xcv_mutexp;
- pthread_cond_t * xcv_condp; /* signalled when owner leaves CV */
- struct thread * xcv_owner; /* current owner thread */
+ perl_mutex *xcv_mutexp;
+ perl_cond * xcv_condp; /* signalled when owner leaves CV */
+ struct thread *xcv_owner; /* current owner thread */
#endif /* USE_THREADS */
U8 xcv_flags;
};