1. 09 Nov, 2015 1 commit
  2. 05 Nov, 2015 2 commits
  3. 04 Nov, 2015 4 commits
  4. 29 Oct, 2015 2 commits
  5. 28 Oct, 2015 2 commits
  6. 26 Oct, 2015 3 commits
  7. 24 Oct, 2015 1 commit
  8. 23 Oct, 2015 3 commits
    • Lucas Russo's avatar
      dev_io/dev_io_core.c: change SMIO destruct function to *_destroy () · f3f8f83f
      Lucas Russo authored
      As we do not send the $TERM message anymore,
      it makes sense to rename the function to a more
      suitable name.
      f3f8f83f
    • Lucas Russo's avatar
      dev_io/dev_io_core.c: fix unnecessary $TERM message to actor · 71e05dbd
      Lucas Russo authored
      On DEVIO destruction, typically triggered by the
      SIGINT, the main DEVIO thread receives it and
      used to start sending $TERM messages to all SMIOs
      (implemented as actors/threads).
      
      However, the SMIOs also receive the signal and exited
      gracefully, as usual. The problem arises by the fact
      that some SMIOs exited before the DEVIO had a chance
      to send the message to that specific SMIO. This would
      block the zmsg_send (), as it waits forever to send
      the message by default, which will never get to the
      SMIO, as it does not exists anymore.
      
      The solution would be to have a timeout for the
      zmsg_send () and consider the SMIO as nonexisting
      if it cannot send the message some time after.
      
      Instead of doing this, we simply omit the message send
      and call zactor_destroy () directly, as it already
      implements this timeout.
      71e05dbd
    • Lucas Russo's avatar
  9. 22 Oct, 2015 9 commits
  10. 21 Oct, 2015 13 commits