You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
In practice, the only way to unlock the goroutine would be to exit. This would safeguard against various potential issues and would force users to have correctly designed concurrency. A protection should also be applied to disallow its use on single-core system.
This function would:
In practice, the only way to unlock the goroutine would be to exit. This would safeguard against various potential issues and would force users to have correctly designed concurrency. A protection should also be applied to disallow its use on single-core system.
As a fallback, it could increase the whole process priority, e.g. syscall.SetPriority(syscall.PRIO_PROCESS, 0, -20) with an actual reasonable value to be determined.
Note: I'm still ambivalent about the above, if it belongs in the library at all but it is relevant enough for the use cases to make sense.
The text was updated successfully, but these errors were encountered: