Skip to content

Commit 7b7f5fc

Browse files
int-y1kiritofeng
authored andcommitted
executors/lean4: allow threads and add syscall
1 parent f098cd3 commit 7b7f5fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dmoj/executors/LEAN4.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def main : IO Unit := do
1010
let line ← cin.getLine
1111
IO.println line
1212
"""
13+
nproc = -1
14+
syscalls = ['eventfd2']
1315

1416
def compile(self) -> str:
1517
command = self.get_command()

0 commit comments

Comments
 (0)