On mach, allow other ruby threads to continue during semaphore try_wait
This commit is contained in:
1 parent
d1644104c8
commit
50c096d84c
2 files changed
+27
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user