Closed Berrysoft closed 9 months ago
Closes #182
The signal handler may be called at any time in the thread, so it's not safe to use RefCell. Here we use a OS pipe to avoid any possible signal-unsafe functions. However, it needs another thread to notify the events.
RefCell
Closes #182
The signal handler may be called at any time in the thread, so it's not safe to use
RefCell
. Here we use a OS pipe to avoid any possible signal-unsafe functions. However, it needs another thread to notify the events.