584件ヒット
[1-100件を表示]
(0.079秒)
ライブラリ
- ビルトイン (268)
- coverage (14)
- drb (24)
-
drb
/ extservm (12) - objspace (48)
-
rdoc
/ code _ object (12) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) - socket (48)
- thread (2)
-
webrick
/ server (12)
クラス
- Coverage (14)
-
DRb
:: DRbServer (12) -
DRb
:: ExtServManager (12) -
Encoding
:: Converter (48) -
Process
:: Status (24) -
RDoc
:: CodeObject (12) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) - StopIteration (12)
- Thread (114)
-
Thread
:: Queue (12) - Time (12)
-
WEBrick
:: GenericServer (12)
モジュール
- DRb (12)
- ObjectSpace (48)
-
Socket
:: Constants (48)
キーワード
-
IPPROTO
_ DSTOPTS (12) -
IPV6
_ DSTOPTS (12) -
IPV6
_ RECVDSTOPTS (12) -
IPV6
_ RTHDRDSTOPTS (12) -
NEWS for Ruby 2
. 1 . 0 (12) - Status (12)
- StopIteration (12)
- Thread (12)
- ThreadError (12)
-
add
_ tag (12) -
add
_ word _ pair (12) - alive? (24)
-
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - backtrace (12)
-
handle
_ interrupt (12) - irb (12)
-
num
_ waiting (12) -
peek
_ result (7) -
primary
_ server (12) -
primitive
_ convert (48) -
rb
_ thread _ stop (12) -
rb
_ thread _ stop _ p (12) -
rb
_ thread _ stop _ timer (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - result (19)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) - run (12)
- service (12)
-
st
_ foreach (12) -
start
_ doc (12) - status (24)
- stop? (12)
- stopped? (12)
- stopsig (12)
- strftime (12)
-
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) - wakeup (12)
- スレッド (12)
- 制御構造 (12)
検索結果
先頭5件
-
Thread
. stop -> nil (21137.0) -
他のスレッドから Thread#run メソッドで再起動されるまで、カレ ントスレッドの実行を停止します。
...ドから Thread#run メソッドで再起動されるまで、カレ
ントスレッドの実行を停止します。
//emlist[例][ruby]{
a = Thread.new { print "a"; Thread.stop; print "c" }
sleep 0.1 while a.status!='sleep'
print "b"
a.run
a.join
# => "abc"
//}
@see Thread#run, Thread#wakeup... -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (15201.0) -
オブジェクト割り当てのトレースを終了します。
...オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start... -
VALUE rb
_ thread _ stop(void) (12200.0) -
現在実行中のスレッドを停止します。 他のスレッドから rb_thread_wakeup を呼ばれると再開します。
...現在実行中のスレッドを停止します。
他のスレッドから rb_thread_wakeup を呼ばれると再開します。... -
static VALUE rb
_ thread _ stop _ p(VALUE thread) (12200.0) -
-
void rb
_ thread _ stop _ timer(void) (12200.0) -
setitimer(2) が存在する場合のみ定義されます。
setitimer(2) が存在する場合のみ定義されます。
Ruby のスレッドスケジューリングに使用しているインターバルタイマーを
停止します。このタイマーが止まると Ruby のスレッド機構は基本的に停止
しますので注意してください。 -
StopIteration (12000.0)
-
イテレーションを止めるときに発生する例外です。
イテレーションを止めるときに発生する例外です。 -
Thread
# backtrace -> [String] | nil (9206.0) -
スレッドの現在のバックトレースを返します。
...y]{
class C1
def m1
sleep 5
end
def m2
m1
end
end
th = Thread.new {C1.new.m2; Thread.stop}
th.backtrace
# => [
# [0] "(irb):3:in `sleep'",
# [1] "(irb):3:in `m1'",
# [2] "(irb):6:in `m2'",
# [3] "(irb):10:in `block in irb_binding'"
# ]
th.kill
th.backtrace... -
Thread
# stop? -> bool (9147.0) -
スレッドが終了(dead)あるいは停止(stop)している時、true を返します。
...スレッドが終了(dead)あるいは停止(stop)している時、true を返します。
//emlist[例][ruby]{
a = Thread.new { Thread.stop }
b = Thread.current
a.stop? # => true
b.stop? # => false
//}
@see Thread#alive?, Thread#status... -
ObjectSpace
. # trace _ object _ allocations _ start -> nil (9106.0) -
オブジェクト割り当てのトレースを開始します。
...オブジェクト割り当てのトレースを開始します。
@see ObjectSpace.#trace_object_allocations_stop...