mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Add the thread kernel API object and move the scheduler to use threads instead of processes for scheduling and task switching.
10 lines
365 B
C++
10 lines
365 B
C++
SYSCALL(0x00, object_noop, void)
|
|
SYSCALL(0x01, object_wait, j6_handle_t, j6_signal_t, j6_signal_t *)
|
|
|
|
SYSCALL(0x11, process_exit, int64_t)
|
|
SYSCALL(0x12, process_fork, uint32_t*)
|
|
SYSCALL(0x13, process_getpid, uint32_t*)
|
|
SYSCALL(0x14, process_log, const char *)
|
|
SYSCALL(0x15, process_pause, void)
|
|
SYSCALL(0x16, process_sleep, uint64_t)
|