Code

utils channel: Added sdb_channel_select().
authorSebastian Harl <sh@tokkee.org>
Sun, 20 Oct 2013 13:35:35 +0000 (15:35 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 20 Oct 2013 13:35:35 +0000 (15:35 +0200)
commitb2ea91bbb3fd18b562fd3e740599af17a113e6d2
tree8b182f692c75cde7f08727668ca7a6d499a0bd23
parent3d018d37548e4b3d55b60ead1b37e1bceacaedb6
utils channel: Added sdb_channel_select().

This function behaves similar to select(2) providing to passively block on a
channel operation until it becomes ready for reading and / or writing.
Optionally, a deadline may be specified.
src/include/utils/channel.h
src/utils/channel.c