proc: added func to threadBlocked
This commit is contained in:
parent
c8d9352522
commit
1a0df69cbf
@ -93,7 +93,7 @@ func threadBlocked(t IThread) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
switch fn.Name {
|
switch fn.Name {
|
||||||
case "runtime.kevent", "runtime.mach_semaphore_wait", "runtime.usleep":
|
case "runtime.kevent", "runtime.mach_semaphore_wait", "runtime.usleep", "runtime.mach_semaphore_timedwait":
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user