diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-15 10:00:18 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-15 10:00:18 +0000 |
commit | d6949db442b724609f0d7a39818bedee08273a43 (patch) | |
tree | e478227dc296685b2757820606cacede16fee4ea /fakethr.h | |
parent | b851de6cd1cc79b5e8ed7db02ebd0a9769d34232 (diff) | |
download | perl-d6949db442b724609f0d7a39818bedee08273a43.tar.gz |
Added fakethr.h.
p4raw-id: //depot/perl@127
Diffstat (limited to 'fakethr.h')
-rw-r--r-- | fakethr.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fakethr.h b/fakethr.h new file mode 100644 index 0000000000..fc25571ac9 --- /dev/null +++ b/fakethr.h @@ -0,0 +1,15 @@ +typedef int perl_mutex; +typedef int perl_key; + +struct perl_wait_queue { + struct thread * thread; + struct perl_wait_queue * next; +}; +typedef struct perl_wait_queue *perl_cond; + +struct thread_intern { + perl_thread next_run, prev_run; /* Linked list of runnable threads */ + perl_cond wait_queue; /* Wait queue that we are waiting on */ + IV private; /* Holds data across time slices */ + I32 savemark; /* Holds MARK for thread join values */ +}; |