Skip to content

v3.0.1

Compare
Choose a tag to compare
@FedeDP FedeDP released this 02 Nov 11:16
· 473 commits to master since this release

Bugfix release for libmodule:

  • module_deregister_fd() will now gracefully remove the fd from epoll. Note that a close() is enough to remove it from epoll, but if autoclose is false, it won't be closed. Thus we need to assure to remove it from epoll.
  • When deregistering a module, actually stop it even if it was already stopped, to free/close any registered fd while it was stopped.
  • PAUSED module have to be delivered PubSub messages, but they will only receive them as soon as they get resumed (thus RUNNING state).
  • module_stop() can be called on PAUSED module too (and not IDLE as before!)
  • Set FD_CLOEXEC flag in non-linux poll implementation for both pipe and kqueue
  • Fixed CMakeLists to runt tests even if valgrind could not be found
  • Special handling of STDIN_FILENO in poll_set_new_evt for epoll/kqueue