paddybyers/node — Issue #10: Simulate delivery of signals to node
Author: paddybyers
Created: 2011-10-19 15:03:52+00:00
State: open

When running as a library inside an Android Java application, it is not possible to send signals to node in the usual way without killing the Java VM.

However, there is a desire to be able to programmatically simulate the delivery of these signals. In particular, there needs to be a way of asynchronously terminating an instance from a separate thread while the main thread is blocked inside libev in the event loop.

The proposal is to expose an API at the top--level that calls the relevant functionality in libev.

Suggested commit is here:

https://github.com/paddybyers/node/commit/9f6f9e0c8ce7cd87dbca4d06f4ced07348e9307f