CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
Job.txt42 linesDownload Raw Back to Doc
1 2/* Graphics Not Rendered in HTML */3               PopUpPrint                         User          ExePrint4 5 6 7                  PopUp                                          ExePutS8 9 10 11 Core0 AdamTask  SrvCmdLine   AP SethTask       UserCmdLine12 13 14 15 16 17 18         SrvTaskCont                          UserTaskCont19 20 21 22        JobsHndlr23 24 25 26         JobRunOne           JobRunOne         ExeCmdLine      ExeCmdLine27 28 29 30 31CJob nodes are one of five types.  User applications deal with text or msgs.32JobRunOne() will call a function, spawn a task or execute some text src code.33 34#define JOBT_TEXT_INPUT         0 //TaskText()  Feed StdIn35#define JOBT_MSG                1 //TaskMsg()   Post msg36#define JOBT_EXE_STR            2 //TaskExe()   Compile & execute src code text37#define JOBT_CALL               3 //JobQue()    Tell MP to call function38#define JOBT_SPAWN_TASK         4 //Spawn()     Tell MP to spawn task39 40Several other routines include a call to JobsHndlr() that gives them powerful41ability to execute servant cmds.42