projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[684600] Treat all value types equally
[mono.git]
/
mono
/
utils
/
mach-support.c
diff --git
a/mono/utils/mach-support.c
b/mono/utils/mach-support.c
index 8e3984e3b294f2b1f2f9efe82a096807bf3bddca..1d39e86cb0245f50bfc1133c233bde1eaf13213a 100644
(file)
--- a/
mono/utils/mach-support.c
+++ b/
mono/utils/mach-support.c
@@
-35,4
+35,10
@@
mono_mach_get_threads (thread_act_array_t *threads, guint32 *count)
return ret;
}
+
+kern_return_t
+mono_mach_free_threads (thread_act_array_t threads, guint32 count)
+{
+ return vm_deallocate(current_task (), (vm_address_t) threads, sizeof (thread_t) * count);
+}
#endif