diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-11-06 11:19:52 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-11-06 11:19:52 +0000 |
| commit | d3ba796f4932de1b69a999a9b9ed27368ae24d74 (patch) | |
| tree | 5b9320dfc22e5c5b0f29024ee91282dc7989f743 /include/interp.h | |
| parent | 63ef3c301e48e84f6453afba8099e964bccf8c2b (diff) | |
20081106-1118
Diffstat (limited to 'include/interp.h')
| -rw-r--r-- | include/interp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/interp.h b/include/interp.h index ab417ae5..15b7068c 100644 --- a/include/interp.h +++ b/include/interp.h @@ -45,6 +45,7 @@ typedef struct Alt Alt; typedef struct Channel Channel; typedef struct Progq Progq; typedef struct Import Import; +typedef struct ILock ILock; typedef struct Inst Inst; typedef struct Module Module; typedef struct Modlink Modlink; @@ -66,6 +67,13 @@ typedef struct Altc Altc; typedef struct Except Except; typedef struct Handler Handler; +struct ILock +{ + int lk; + int pid; + void* ql; +}; + struct Frame { Inst* lr; /* REGLINK isa.h */ @@ -403,6 +411,8 @@ extern void destroylinks(Module*); extern void destroystack(REG*); extern void drawmodinit(void); extern int dynldable(int); +extern void iqlock(ILock*); +extern void iqunlock(ILock*); extern void loadermodinit(void); extern Type* dtype(void (*)(Heap*, int), int, uchar*, int); extern Module* dupmod(Module*); |
