summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 4a86a34ff2..5d62d0fd50 100644
--- a/proto.h
+++ b/proto.h
@@ -40,6 +40,9 @@ I32 chsize _((int fd, Off_t length));
#endif
OP * ck_gvconst _((OP * o));
OP * ck_retarget _((OP *o));
+#ifdef USE_THREADS
+MAGIC * condpair_magic _((SV *sv));
+#endif
OP* convert _((I32 optype, I32 flags, OP* o));
char* cpytill _((char* to, char* from, char* fromend, int delim, I32* retlen));
void croak _((char* pat,...)) __attribute__((format(printf,1,2),noreturn));
@@ -174,6 +177,9 @@ int magic_getpos _((SV* sv, MAGIC* mg));
int magic_gettaint _((SV* sv, MAGIC* mg));
int magic_getuvar _((SV* sv, MAGIC* mg));
U32 magic_len _((SV* sv, MAGIC* mg));
+#ifdef USE_THREADS
+int magic_mutexfree _((SV* sv, MAGIC* mg));
+#endif /* USE_THREADS */
int magic_nextpack _((SV* sv, MAGIC* mg, SV* key));
int magic_set _((SV* sv, MAGIC* mg));
#ifdef OVERLOAD