diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/interp.h | 10 | ||||
| -rw-r--r-- | include/version.h | 2 |
2 files changed, 11 insertions, 1 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*); diff --git a/include/version.h b/include/version.h index d1540b2f..cc952732 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20081105)" +#define VERSION "Fourth Edition (20081106)" |
