Kalloc and lck_mtx_lock
Kalloc and lck_mtx_lock
- Subject: Kalloc and lck_mtx_lock
- From: Greg <email@hidden>
- Date: Tue, 23 Jun 2009 21:27:05 -0400
I've read in Amit Singh's OS X Internals book that it's not safe to
call OSMalloc/kalloc while holding a "simple lock", are lck_mtx_t's
therefore safe to hold when calling one of these functions?
If not, then is there any way of doing so? Perhaps by using a
different kind of lock or different kind of alloc function?
Thanks,
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden