Skip to content

Commit e504832

Browse files
committed
std: Add a module for multithreading
1 parent a48e30d commit e504832

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

std/virtual/vthread.pics

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
module Virtual {
4+
function task(fx) = pic_nat_task(fx)
5+
function sleep(fx) = pic_nat_sleep(fx)
6+
function await(task) = task.await
7+
}
8+
9+
10+

0 commit comments

Comments
 (0)