種類
ライブラリ
- ビルトイン (241)
-
io
/ wait (44) - monitor (60)
-
net
/ telnet (4) - open3 (154)
-
shell
/ builtin-command (6) -
shell
/ process-controller (30) -
shell
/ system-command (6) - socket (121)
- sync (24)
- syslog (11)
- thread (10)
- thwait (84)
- un (11)
クラス
-
ARGF
. class (9) - IO (66)
- Monitor (5)
-
MonitorMixin
:: ConditionVariable (33) -
Net
:: Telnet (4) -
Process
:: Status (11) -
Shell
:: BuiltInCommand (6) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (6) - Socket (66)
-
Thread
:: ConditionVariable (33) -
Thread
:: Queue (20) - ThreadsWait (60)
モジュール
- Kernel (22)
- Open3 (154)
- Process (73)
-
RubyVM
:: MJIT (6) - Signal (22)
-
Socket
:: Constants (55) -
Sync
_ m (24) -
Syslog
:: Option (11)
キーワード
-
$ ? (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - >> (11)
- ConditionVariable (11)
- ErrNoFinishedThread (6)
- ErrNoWaitingThread (6)
-
LOCAL
_ CONNWAIT (22) -
LOG
_ NOWAIT (11) -
MSG
_ DONTWAIT (22) -
MSG
_ PROXY (22) -
MSG
_ WAITALL (22) - Monitor (11)
- MonitorMixin (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Rubyの起動 (6)
- Status (11)
-
TCP
_ LINGER2 (22) - ThWait (6)
- ThreadsWait (6)
- WaitReadable (11)
- WaitWritable (11)
-
all
_ waits (18) - broadcast (11)
- close (9)
-
connect
_ nonblock (11) - empty? (6)
- finished? (6)
-
io
/ wait (11) - join (6)
-
join
_ nowait (6) -
last
_ status (7) - new (6)
-
next
_ wait (6) -
num
_ waiting (11) - pause (6)
-
pipeline
_ r (22) -
pipeline
_ rw (22) -
pipeline
_ start (22) -
pipeline
_ w (22) - popen2 (22)
- popen2e (22)
- popen3 (22)
-
rb
_ feature _ p (11) -
rb
_ thread _ polling (1) -
rb
_ thread _ schedule (11) -
rb
_ thread _ wait _ fd (11) -
rb
_ thread _ wait _ for (11) -
rb
_ thread _ wait _ other _ threads (11) -
read
_ nonblock (20) -
ruby 1
. 8 . 4 feature (11) - setpgrp (11)
- signal (11)
-
sync
_ upgrade _ waiting (6) -
sync
_ upgrade _ waiting= (6) -
sync
_ waiting (6) -
sync
_ waiting= (6) - threads (6)
- thwait (6)
- trap (22)
- un (11)
- wait2 (11)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
wait
_ for _ cond (5) -
wait
_ readable (11) -
wait
_ to _ finish _ all _ process _ controllers (6) -
wait
_ until (11) -
wait
_ while (11) -
wait
_ writable (33) - waitall (11)
- waitfor (4)
-
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) - waitpid (11)
- waitpid2 (11)
-
write
_ nonblock (11)
検索結果
先頭5件
-
MonitorMixin
:: ConditionVariable # wait _ while { . . . } -> () (6107.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たしている間停止します。
...このメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@raise ThreadError ロックを持っていないスレッドがこのメソッドを呼びだした場合に発生します
@see MonitorMixin::ConditionVariable#wait... -
Shell
:: BuiltInCommand # wait? -> false (6101.0) -
@todo
@todo -
Shell
:: ProcessController # wait _ all _ jobs _ execution -> () (6101.0) -
全てのジョブの実行が終わるまで待ちます。
全てのジョブの実行が終わるまで待ちます。 -
Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () (6101.0) -
@todo
@todo -
Shell
:: SystemCommand # wait? -> bool (6101.0) -
@todo
@todo -
Net
:: Telnet # waitfor(opt) -> String|nil (6100.0) -
指定した正規表現にマッチする文字列がホストから来るまでデータを読み込みます。
...値として利用します。
"Waittime" 指定した正規表現にマッチしてからこれで指定した秒数だけホストからの
通信がない場合にこのメソッドが終わります。指定しない場合は Net::Telnet.new で
指定した"Waittime"の値をデフォルト値... -
Net
:: Telnet # waitfor(opt) {|buf| . . . } -> String|nil (6100.0) -
指定した正規表現にマッチする文字列がホストから来るまでデータを読み込みます。
...値として利用します。
"Waittime" 指定した正規表現にマッチしてからこれで指定した秒数だけホストからの
通信がない場合にこのメソッドが終わります。指定しない場合は Net::Telnet.new で
指定した"Waittime"の値をデフォルト値... -
Process
. # waitall -> [[Integer , Process :: Status]] (6100.0) -
全ての子プロセスが終了するのを待ちます。 終了した子プロセスの pid と終了ステータス (Process::Status) の配列の配列を返します。 子プロセスがいない状態でこのメソッドを呼び出すと空の配列を返します。
...配列を返します。
$? には最後に終了した子プロセスの Process::Status オブジェクトが設定されます。
2.times {|n|
Process.fork() { exit n }
}
p Process.waitall
#=> :Status: pid=2766,exited(1)>], [2765, #<Process::Status: pid=2765,exited(1)>... -
Shell
:: ProcessController # waiting _ job?(job) -> bool (6100.0) -
指定されたジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
指定されたジョブが存在する場合は真を返します。
そうでない場合は偽を返します。
@param job ジョブを指定します。 -
Shell
:: ProcessController # waiting _ jobs -> Array (6100.0) -
待機中のジョブを返します。
待機中のジョブを返します。 -
Shell
:: ProcessController # waiting _ jobs _ exist? -> bool (6100.0) -
待機中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
待機中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Socket
:: Constants :: LOCAL _ CONNWAIT -> Integer (6100.0) -
Retrieve peer credentials。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Retrieve peer credentials。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see ip(4freebsd) -
Socket
:: Constants :: MSG _ DONTWAIT -> Integer (6100.0) -
This message should be non-blocking。
This message should be non-blocking。
BasicSocket#send, BasicSocket#sendmsg,
BasicSocket#recv, BasicSocket#recvmsg の
flags 引数に用います。
@see send(2linux), recv(2linux),
recv(2freebsd) -
Socket
:: LOCAL _ CONNWAIT -> Integer (6100.0) -
Retrieve peer credentials。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Retrieve peer credentials。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see ip(4freebsd) -
Socket
:: MSG _ DONTWAIT -> Integer (6100.0) -
This message should be non-blocking。
This message should be non-blocking。
BasicSocket#send, BasicSocket#sendmsg,
BasicSocket#recv, BasicSocket#recvmsg の
flags 引数に用います。
@see send(2linux), recv(2linux),
recv(2freebsd)