author | Sebastian Harl <sh@tokkee.org> | |
Mon, 21 Oct 2013 07:10:08 +0000 (09:10 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 21 Oct 2013 07:10:08 +0000 (09:10 +0200) | ||
commit | cd2c02cefddee94e0142a8f1d3d156c05c58472a | |
tree | 03b2c125b53740c4779ddab7d623e42fb10c70f4 | tree | snapshot |
parent | bed406a8fce9eb683059a3138dd33e4cf7bd71cd | commit | diff |
utils channel: Added sdb_channel_shutdown().
This function initiates a shutdown of the channel, forbidding any subsequent
writes. However, readers are still able to empty the buffer. Then, EBADF will
be returned through errno. This allows for graceful shutdowns.
This function initiates a shutdown of the channel, forbidding any subsequent
writes. However, readers are still able to empty the buffer. Then, EBADF will
be returned through errno. This allows for graceful shutdowns.
src/include/utils/channel.h | diff | blob | history | |
src/utils/channel.c | diff | blob | history |