2 def self.send_in_microseconds(chan, microseconds, tag)
3 Ruby.primitive :channel_send_in_microseconds
4 raise PrimitiveFailure, "primitive failed"
7 def self.send_in_seconds(chan, seconds, tag)
8 Ruby.primitive :channel_send_in_seconds
9 raise PrimitiveFailure, "primitive failed"
12 def self.send_on_readable(chan, io, buffer, nbytes)
13 Ruby.primitive :channel_send_on_readable
14 raise PrimitiveFailure, "primitive failed"
17 def self.send_on_writable(chan, io)
18 Ruby.primitive :channel_send_on_readable
19 raise PrimitiveFailure, "primitive failed"
22 def self.send_on_signal(chan, signum)
23 Ruby.primitive :channel_send_on_signal
24 raise PrimitiveFailure, "primitive failed"
27 def self.send_on_stopped_prim(chan, pid, flags)
28 Ruby.primitive :channel_send_on_stopped
29 raise PrimitiveFailure, "primitive failed"
32 def self.send_on_stopped(chan, pid=-1, flags=0)
33 send_on_stopped_prim(chan, pid, flags)
37 Ruby.primitive :scheduler_cancel
38 raise PrimitiveFailure, "primitive failed"