218件ヒット
[201-218件を表示]
(0.105秒)
種類
- インスタンスメソッド (164)
- 特異メソッド (54)
ライブラリ
- ビルトイン (218)
キーワード
- [] (12)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) -
add
_ trace _ func (12) - alive? (12)
- fetch (8)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - run (12)
-
set
_ trace _ func (12) - stop (12)
-
thread
_ variable _ get (12) -
thread
_ variable _ set (12) - value (12)
- wakeup (12)
検索結果
-
Thread
# run -> self (3007.0) -
停止状態(stop)のスレッドを再開させます。 Thread#wakeup と異なりすぐにスレッドの切り替え を行います。
...状態(stop)のスレッドを再開させます。
Thread#wakeup と異なりすぐにスレッドの切り替え
を行います。
@raise ThreadError 死んでいるスレッドに対して実行すると発生します。
//emlist[例][ruby]{
a = Thread.new { puts "a"; Thread.stop; puts "c" }......sleep 0.1 while a.status!='sleep'
puts "Got here"
a.run
a.join
# => a
# => Got here
# => c
//}
@see Thread#wakeup, Thread.stop... -
Thread
# wakeup -> self (3007.0) -
停止状態(stop)のスレッドを実行可能状態(run)にします。
...stop)のスレッドを実行可能状態(run)にします。
@raise ThreadError 死んでいるスレッドに対して実行すると発生します。
//emlist[例][ruby]{
c = Thread.new { Thread.stop; puts "hey!" }
sleep 0.1 while c.status!='sleep'
c.wakeup
c.join
# => "hey!"
//}
@see Thread#......run, Thread.stop...