add trysend, tryreceive, and tryshift interfaces
commitb78572aebcf764d314844caff43c438cc93257fc
authorEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 10:54:42 +0000 (27 10:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 11:03:07 +0000 (27 11:03 +0000)
tree9e497895bcf650e13a2ad20fa28060a43a9b9d5b
parentfe77abb7dc4dbe6fb4054430ff7fceb98f5dc9b8
add trysend, tryreceive, and tryshift interfaces

These are kinder and less exceptional than their
non-trying counterparts as generating exceptions
is expensive for common EAGAIN errors.
ext/posix_mq/posix_mq.c
test/test_posix_mq.rb