File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2000,7 +2000,9 @@ sysdir_start_search_path_enumeration
2000
2000
task_create
2001
2001
task_for_pid
2002
2002
task_info
2003
+ task_inspect_t
2003
2004
task_terminate
2005
+ task_threads
2004
2006
telldir
2005
2007
thread_basic_info_t
2006
2008
thread_extended_info_t
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ pub type host_info64_t = *mut integer_t;
53
53
pub type processor_flavor_t = :: c_int ;
54
54
pub type thread_flavor_t = natural_t ;
55
55
pub type thread_inspect_t = :: mach_port_t ;
56
+ pub type thread_act_t = :: mach_port_t ;
57
+ pub type thread_act_array_t = * mut :: thread_act_t ;
56
58
pub type policy_t = :: c_int ;
57
59
pub type mach_vm_address_t = u64 ;
58
60
pub type mach_vm_offset_t = u64 ;
@@ -124,6 +126,7 @@ pub type vm_statistics64_t = *mut vm_statistics64;
124
126
pub type vm_statistics64_data_t = vm_statistics64 ;
125
127
126
128
pub type task_t = :: mach_port_t ;
129
+ pub type task_inspect_t = :: mach_port_t ;
127
130
128
131
pub type sysdir_search_path_enumeration_state = :: c_uint ;
129
132
@@ -5509,6 +5512,11 @@ extern "C" {
5509
5512
child_task : * mut :: task_t ,
5510
5513
) -> :: kern_return_t ;
5511
5514
pub fn task_terminate ( target_task : :: task_t ) -> :: kern_return_t ;
5515
+ pub fn task_threads (
5516
+ target_task : :: task_inspect_t ,
5517
+ act_list : * mut :: thread_act_array_t ,
5518
+ act_listCnt : * mut :: mach_msg_type_number_t ,
5519
+ ) -> :: kern_return_t ;
5512
5520
pub fn host_statistics (
5513
5521
host_priv : host_t ,
5514
5522
flavor : host_flavor_t ,
You can’t perform that action at this time.
0 commit comments