in reply to Re^4: I know that signal handling isn't working well on win32, but how bad is it?
in thread I know that signal handling isn't working well on win32, but how bad is it?

if used well

Aye, there's the rub. You can only (safely) call certain reentrant functions in a signal handler, and in multi-threaded applications it is even worse - you don't know which thread is going to get interrupted. Further more, errno is a single shared global, and a handler's error could overwrite an existing value. See Advanced Programming in the UNIX Environment (2nd Edition, Stevens and Rago) section 10.6 for a discussion on this and other fun aspects of UNIX signals.
  • Comment on Re^5: I know that signal handling isn't working well on win32, but how bad is it?