Timer thread hack

[email protected]$G$9!%(B

$B!!%?%$%^%9%l%C%I$N5sF0$rM^@)$9$k%Q%C%A$r:[email protected]$7$^$7$?!%$b$&!$>.:j$5$s$N$H(B
$B$3$m$K$O$"$k$+$b$7$l$^$;$s$,!$$H$j$"$($:!$$C$F$3$H$G!%(B

$B!!(Bfork $B$N$3$H$r9M$($F$$$J$$$N$G!$$^[email protected](B fork
$B$,$"[email protected]$HF0$-$^$;$s!%(B
$BB?J,!%$=$l$r=|$$$?(B btest $B$OF0$-$^$7$?!%(B

$B!!$I$s$J$b$s$G$7$g$&$+!%$"$H$O!$(Bprocess.c
$B$N$"$?$j$rO.$l$P!$$H;W$C$F$$$^$9!%(B

select $B$H$+(B pipe $B$r;H$C$F%9%/%i%C%A$+$i=q$/$N$,!$<B$O=i$a$F!%(B

$B7P0^!’(B

  1. timer thread $B$,Dj4|E*$KF0$/$N$,5$$KF~$i$J$$!JEENOE*$J0UL#$H$+!K(B
  2. $B0JA0!$%;%^%U%)$G!$$=$&$8$c$J$/$9$k%Q%C%A$r=q$$$?(B
  3. MacOSX [email protected]$H$=$l$8$c$&$^$/$$$+$J$$!J5!G=$,B-$j$J$$!K(B
  4. pipe hack $B$G$J$s$H$+$7$h$&!J(Bsignal handler -> timer thread
    $B$X$NDL?.!K(B

(2011/06/17 6:55), SASADA Koichi wrote:

$B!!$I$s$J$b$s$G$7$g$&$+!%$"$H$O!$(Bprocess.c
$B$N$"$?$j$rO.$l$P!$$H;W$C$F$$$^$9!%(B

$B!!$8$c$J$$$H$3$m$rO.$C$?$i$=$l$J$j$KF0$$$?$N$G$4Js9p$G$9!%(B

$B$=$l$J$j!$$J$N$G!$(Btest-all $B$G%(%i!<$,$]$D$]$DA}$($F$7$^$C$?!%(B

http://www.atdot.net/sp/view/yonwml/readonly
http://www.atdot.net/sp/raw/yonwml

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs