374件ヒット
[1-100件を表示]
(0.095秒)
ライブラリ
- ビルトイン (156)
- irb (24)
-
irb
/ ext / loader (12) -
net
/ ftp (12) - optparse (12)
- pstore (12)
-
webrick
/ compat (12)
キーワード
-
$ -d (12) -
$ DEBUG (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ECONNABORTED (12)
- LoadAbort (12)
- OptionParser (12)
- Thread (12)
- abort (72)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) - exit (12)
- exit! (12)
-
irb
_ abort (12) -
rb
_ catch (12) -
rb
_ f _ abort (12) -
rb
_ thread _ abort _ exc (12) -
rb
_ thread _ abort _ exc _ set (12) -
rb
_ thread _ s _ abort _ exc (12) -
rb
_ thread _ s _ abort _ exc _ set (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 5 feature (12) - thread (2)
- スレッド (12)
- 終了処理 (12)
検索結果
先頭5件
-
static VALUE rb
_ f _ abort(int argc , VALUE *argv) (32200.0) -
-
static VALUE rb
_ thread _ abort _ exc(VALUE thread) (32200.0) -
-
static VALUE rb
_ thread _ abort _ exc _ set(VALUE thread , VALUE val) (32200.0) -
-
static VALUE rb
_ thread _ s _ abort _ exc(void) (32200.0) -
-
static VALUE rb
_ thread _ s _ abort _ exc _ set(VALUE self , VALUE val) (32200.0) -
-
VALUE rb
_ catch(const char *tag , VALUE (*proc)() , VALUE data) (26118.0) -
catch と同等の動作を実行します。
...行します。
まず proc に、yield された値と data を渡して実行します。
その途中で tag が throw されたら rb_catch 全体を終了します。
throw が発生した場合はその値を返します。
throw が発生しなかったときは proc の返り値を返し......)
{
return rb_yield(b);
}
static VALUE
foo_catch(VALUE obj)
{
return rb_catch("footag", foo_yield, INT2FIX(2));
}
static VALUE
foo_abort(VALUE obj)
{
return rb_throw("footag", Qnil);
}
void
Init_foo(void)
{
VALUE Foo = rb_define_class("Foo", rb_cO......bject);
rb_define_method(Foo, "catch", foo_catch, 0);
rb_define_method(Foo, "abort", foo_abort, 0);
}... -
IRB
:: Abort (24000.0) -
実行中の処理を中断する時に発生させる例外クラスです。
実行中の処理を中断する時に発生させる例外クラスです。 -
IRB
. irb _ abort(irb , exception = Abort) (15408.0) -
実行中の処理を中断します。必ず例外が発生するため、何も返しません。
...するため、何も返しません。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param exception 発生させる例外を指定します。指定しなかった場合は
IRB::Abort が発生します。
@raise exception 引数 exception で指定し... -
Thread
# abort _ on _ exception -> bool (12220.0) -
真の場合、そのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例 外は、Thread#join などで検出されない限りそのスレッ ドだけをなにも警告を出さずに終了させます。
...るスレッドで起こった例
外は、Thread#join などで検出されない限りそのスレッ
ドだけをなにも警告を出さずに終了させます。
デフォルトは偽です。c:Thread#exceptionを参照してください。
@param newstate 自身を実行中に例外発生......した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.abort_on_exception # => false
thread.abort_on_exception = true
thread.abort_on_exception # => true
//}...