On mach, allow other ruby threads to continue during semaphore try_wait

This commit is contained in:
Marc Siegel committed 2013-12-26 12:45:04 -05:00
1 parent d1644104c8
commit 50c096d84c
2 files changed
+27 -1

No files matched your search

+2 -1
View File
@@ -212,7 +212,8 @@ module Mach
:blocking => true)
attach_mach_function(:semaphore_timedwait,
[:semaphore_t, TimeSpec.val],
:kern_return_t)
:kern_return_t,
:blocking => true)
end
end