Skip to content

1.0.1 – signals on Windows, macOS support and bugfixes

Choose a tag to compare

@kotauskas kotauskas released this 15 Dec 13:59
a25657e
  • Implemented ANSI C signals for Windows. The interface is as close to Unix signals as possible, but has some intricate differences which prevent a common API from existing.
  • Fixed some minor issues in the documentation.
  • Fixed a non-UB race condition in the implementation of Unix signals. Caused rare panics if a signal is received before its handler is put into the handler table, since it was being registered before it got added to the global table. (The panics never caused UB, since we have panic safety in signal handlers.)
  • Switched from spin to spinning because the former is unmaintained and has a RustSec entry for that reason. Stay safe, friends.