Download Demo/MultiCore/MPPrint.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/MultiCore/MPPrint.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Demo/MultiCore/MPPrint.txt
-
curl -L -o MPPrint.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/MultiCore/MPPrint.txt
233 Bytes
| U0 Job(CDoc *doc) | |
| { | |
| I64 i; | |
| for (i=0;i<2;i++) | |
| DocPrint(doc,"$FG,%d$CPU%d ",Gs->num&15,Gs->num); | |
| } | |
| U0 MPPrintDemo() | |
| { | |
| I64 i; | |
| for (i=0;i<500;i++) | |
| JobQue(&Job,DocPut,i%mp_cnt); | |
| Sleep(500); | |
| "$FG$\n"; | |
| } | |
| MPPrintDemo; | |