Skip to content

Commit

Permalink
Syscall for Runtime::get_fork_string() on RishkaVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed May 14, 2024
1 parent 9c2688f commit 3d3b39a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rishka_vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,9 @@ uint64_t RishkaVM::handleSyscall(uint64_t code) {
RishkaSyscall::Runtime::yield();
break;

case RISHKA_SC_RT_FORK_STREAM:
return RishkaSyscall::Runtime::get_fork_string();

default:
this->panic("Invalid system call.");
break;
Expand Down

0 comments on commit 3d3b39a

Please sign in to comment.