Fix API functions + the interpreter GIL interactions as it crashes the processes non-deterministic for some callbacks. libmosquitto's helper main loop runs in a pthread which the VM isn't aware of. The callbacks to Ruby land run within that thread's context, the VM detects and aborts the process
Fix API functions + the interpreter GIL interactions as it crashes the processes non-deterministic for some callbacks. libmosquitto's helper main loop runs in a pthread which the VM isn't aware of. The callbacks to Ruby land run within that thread's context, the VM detects and aborts the process
See http://mosquitto.org/api/files/mosquitto-h.html#mosquitto_loop_start and http://burgestrand.se/articles/asynchronous-callbacks-in-ruby-c-extensions.html