aboutsummaryrefslogtreecommitdiff
path: root/core/sys/darwin
diff options
context:
space:
mode:
authorColin Davidson <colrdavidson@gmail.com>2024-09-24 02:31:44 -0700
committerColin Davidson <colrdavidson@gmail.com>2024-09-24 02:31:44 -0700
commit99938c7d4fb26d43a07dd4b8f4f00ab87e67e73f (patch)
treef99356f774a46cc36ebc307e4640d9ce43fac31d /core/sys/darwin
parent2119062a5a8d35ac77dfc931a59e7254859681cb (diff)
spawn tweaks
Diffstat (limited to 'core/sys/darwin')
-rw-r--r--core/sys/darwin/mach_darwin.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/darwin/mach_darwin.odin b/core/sys/darwin/mach_darwin.odin
index bbaa290e6..1e728fe78 100644
--- a/core/sys/darwin/mach_darwin.odin
+++ b/core/sys/darwin/mach_darwin.odin
@@ -255,6 +255,7 @@ foreign mach {
task_resume :: proc(task: task_t) -> kern_return_t ---
task_threads :: proc(task: task_t, thread_list: ^thread_list_t, list_count: ^u32) -> kern_return_t ---
task_info :: proc(task: task_t, flavor: i32, info: task_info_t, count: ^u32) -> kern_return_t ---
+ task_terminate :: proc(task: task_t) -> kern_return_t ---
thread_get_state :: proc(thread: thread_act_t, flavor: i32, thread_state: thread_state_t, old_state_count: ^u32) -> kern_return_t ---
thread_info :: proc(thread: thread_act_t, flavor: u32, thread_info: ^thread_identifier_info, info_count: ^u32) -> kern_return_t ---