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
The following code hangs indefinitely on my laptop (OSX).
import threading
import timeout_decorator
@timeout_decorator.timeout(1)
def main():
l = threading.Lock()
l.acquire()
l.acquire()
if __name__ == '__main__':
main()
With use_signals, it does not fail. Ideally, there's a way to fix this, but short of that, it'd be great to have this limitation more prominent in the docs.
The text was updated successfully, but these errors were encountered:
The following code hangs indefinitely on my laptop (OSX).
With
use_signals
, it does not fail. Ideally, there's a way to fix this, but short of that, it'd be great to have this limitation more prominent in the docs.The text was updated successfully, but these errors were encountered: