From d3ba796f4932de1b69a999a9b9ed27368ae24d74 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Thu, 6 Nov 2008 11:19:52 +0000 Subject: 20081106-1118 --- include/interp.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/interp.h') 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*); -- cgit v1.2.3