Displaying 2 results from an estimated 2 matches for "readpipe".
Did you mean:
read_pipe
2008 May 11
4
Latest rb_win32_select patch
Hi Park,
I tried your latest patch and ran the sample code:
readPipe, writePipe = IO.pipe
t = Thread.new{
sleep 5
while true
sleep 0.1
puts "got #{readPipe.readline.length} bytes"
end
}
i = 1
while true
i += 1
sleep 1
puts "hello from main"
if i > 3
writePipe.puts "a"*2048
end
end
t.joi...
2004 Apr 06
0
cbqmon.pl
...cklog'',''dropped'',''borrowed'',''overactions'',''tokens
'',''ctokens''}}
> .
>
> print $clear.$header;
>
> $watchclass =~ s/\?/\./g;
> $watchclass =~ s/\*/\.\*/g;
>
> while (@allinfo = (readpipe("tc -s class show dev $iface")))
> {
> # class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit
> # Sent 41352703832 bytes 165540580 pkts (dropped 0, overlimits 0)
> # borrowed 0 overactions 0 avgidle 58 undertime 0
> # class cbq 1:1990 parent 1: leaf 1990: r...