330件ヒット
[1-100件を表示]
(0.173秒)
ライブラリ
- ビルトイン (196)
- drb (24)
-
drb
/ extserv (12) -
drb
/ extservm (12) -
rdoc
/ code _ object (24) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) - thread (2)
-
webrick
/ server (36)
クラス
-
DRb
:: DRbServer (24) -
DRb
:: ExtServ (12) -
DRb
:: ExtServManager (12) -
Encoding
:: Converter (48) -
Process
:: Status (24) -
RDoc
:: CodeObject (24) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) - StopIteration (12)
- Thread (90)
-
Thread
:: Queue (12) - Time (12)
-
WEBrick
:: GenericServer (36)
キーワード
-
add
_ tag (12) -
add
_ word _ pair (12) - alive? (24)
- backtrace (12)
-
num
_ waiting (12) -
primitive
_ convert (48) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - result (12)
- run (12)
- service (12)
- shutdown (12)
-
start
_ doc (12) - status (24)
- stop? (12)
-
stop
_ doc (12) -
stop
_ service (24) - stopped? (12)
- stopsig (12)
- strftime (12)
- wakeup (12)
検索結果
先頭5件
-
WEBrick
:: GenericServer # stop -> () (21102.0) -
サーバを停止します。
サーバを停止します。
実際にはサーバの状態を :Shutdown にするだけで、サーバがすぐに停止すると
は限りません。 -
DRb
:: DRbServer # stop _ service -> () (18202.0) -
サーバを停止します。
...サーバを停止します。
@see DRb::DRbServer#alive?... -
DRb
:: ExtServ # stop _ service -> true (12208.0) -
サービスを停止します。
...サービスを停止します。
DRb::ExtServManager オブジェクトにサービスの停止を伝達し、
DRb::DRbServer#stop_service でサーバを停止します。
このメソッドはリモートから起動することができます。
サーバが停止するため、停止したサ......ブジェクトは
利用できなくなります。また、サーバの停止により
接続を待ち受けているスレッドが停止します。
サービス停止後、
DRb::ExtServManager#service で同じ名前のサービスを要求すると、
別のプロセスが起動します。... -
Process
:: Status # stopped? -> bool (12201.0) -
プロセスが現在停止(終了ではない)している場合に真を返します。 Process.#waitpid に Process::WUNTRACED フラグを設定した 場合にだけ真になりえます。
...プロセスが現在停止(終了ではない)している場合に真を返します。
Process.#waitpid に Process::WUNTRACED フラグを設定した
場合にだけ真になりえます。... -
Thread
# report _ on _ exception -> bool (9213.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...tderr に報告します。
デフォルトはスレッド作成時の Thread.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Threa......d.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Threa......d:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Thread
# report _ on _ exception=(newstate) (9213.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...tderr に報告します。
デフォルトはスレッド作成時の Thread.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Threa......d.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Threa......d:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
Process
:: Status # stopsig -> Integer | nil (9201.0) -
stopped? が真の場合そのシグナルの番号を、そうでない場合は nil を返します。
...
stopped? が真の場合そのシグナルの番号を、そうでない場合は
nil を返します。... -
Thread
# stop? -> bool (9136.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... -
DRb
:: DRbServer # alive? -> bool (9107.0) -
サーバが生存しているならば真を返します。
...サーバが生存しているならば真を返します。
@see DRb::DRbServer#stop_service...