|
@@ -100,6 +100,7 @@ TYPE
|
|
|
restartSP-: LONGINT;
|
|
|
lastThreadTimes: HUGEINT;
|
|
|
gcContext: GCContext;
|
|
|
+ context: ANY;
|
|
|
|
|
|
PROCEDURE ^ FindRoots*;
|
|
|
END Process;
|
|
@@ -154,6 +155,8 @@ VAR
|
|
|
PROCEDURE ^ LockedByCurrent*(obj: ANY): BOOLEAN;
|
|
|
PROCEDURE ^ Yield*;
|
|
|
PROCEDURE ^ CurrentProcess*(): Process;
|
|
|
+ PROCEDURE ^ CurrentContext*(): ANY;
|
|
|
+ PROCEDURE ^ SetContext*(context: ANY);
|
|
|
PROCEDURE ^ GetStackBottom*(p: Process): ADDRESS;
|
|
|
PROCEDURE ^ ActiveObject*(): ANY;
|
|
|
PROCEDURE ^ GetProcessID*(): LONGINT;
|