Skip to content

Commit

Permalink
Update rfcs/0050-vm-syscalls-3/0050-vm-syscalls-3.md
Browse files Browse the repository at this point in the history
Co-authored-by: ian <me@iany.me>
  • Loading branch information
zhangsoledad and doitian authored Nov 10, 2023
1 parent a18b137 commit 91e8f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/0050-vm-syscalls-3/0050-vm-syscalls-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following four syscalls are added:
### Spawn
[Spawn]: #spawn

The syscall Spawn is the core part of this update. The *Spawn* and the latter two syscalls: *Get Memory Limit* and *Set Content* together, implement a way to call another CKB Script in a CKB Script. Unlike the *Exec*[1](../0034-vm-syscalls-2/0034-vm-syscalls-2.md) syscall, *Spawn* saves the execution context of the current script, like [posix_spawn](https://man7.org/linux/man-pages/man3/posix_spawn.3.html), the parent script blocks until the child script ends.
The syscall Spawn is the core part of this update. The *Spawn* and the latter two syscalls: *Get Memory Limit* and *Set Content* together, implement a way to call another CKB Script in a CKB Script. Unlike the *Exec*[1](../0034-vm-syscalls-2/0034-vm-syscalls-2.md) syscall, *Spawn* saves the execution context of the current script, like [posix_spawn](https://man7.org/linux/man-pages/man3/posix_spawn.3.html), the parent script continues when the child script ends.


```c
Expand Down

0 comments on commit 91e8f64

Please sign in to comment.