So this is mostly correct but what I've seen is that the green thread that is waiting on the native thread never gets re-scheduled in the case where the threaded operation raises an exception and doesn't explicitly handle it. In other words the green threads calling the native threads gets stuck but other green threads still operate as normal. This simple test script seems to demonstrate the same behaviour - https://pastebin.ubuntu.com/p/JXgzhppKwr/
So this is mostly correct but what I've seen is that the green thread that is waiting on the native thread never gets re-scheduled in the case where the threaded operation raises an exception and doesn't explicitly handle it. In other words the green threads calling the native threads gets stuck but other green threads still operate as normal. This simple test script seems to demonstrate the same behaviour - https:/ /pastebin. ubuntu. com/p/JXgzhppKw r/