Lines Matching defs:as

15     Same as traditional ruby thread.
686 * Basically the same as ::new. However, if class Thread is subclassed, then
1270 * interrupt events (such as Thread#kill, signal delivery, VM-shutdown
1272 * (such as `trap' for signals, raise an exception for Thread#raise).
1295 * process such as `trap' and so on.
1398 * created as Ruby thread (created by Thread.new or so). In other
1477 * Async events such as an exception throwed by Thread#raise,
1654 * such as read and write. On CRuby implementation, _BlockingOperation_ is any
1664 * If you need to communicate between threads, please consider to use another way such as Queue.
1858 * This example can also be written as the following, which you should use to
2114 /* To perform Thread.current.raise as Kernel.raise */
2208 * Marks <i>thr</i> as eligible for scheduling (it may still remain blocked on
2722 * The idiom may not work as dynamic scope if the methods are thread-local
2866 * Returns <code>true</code> if the given string (or symbol) exists as a
2920 * Returns an an array of the names of the fiber-local variables (as Symbols).
2954 * Returns an an array of the names of the thread-local variables (as Symbols).
2984 * Returns <code>true</code> if the given string (or symbol) exists as a
3114 * Note that this assumes fd_set is structured as bitmap.
3647 } as;
3660 r = rb_thread_fd_select(args->as.fd + 1,
3663 args->as.error = errno;
3666 if (args->read && rb_fd_isset(args->as.fd, args->read))
3668 if (args->write && rb_fd_isset(args->as.fd, args->write))
3670 if (args->except && rb_fd_isset(args->as.fd, args->except))
3696 args.as.fd = fd;
3704 errno = args.as.error;
3893 * threads as a group. A <code>Thread</code> can belong to only one
3897 * Newly created threads belong to the same group as the thread from which they
4825 * list[recursive_key] is used as a flag for the outermost call.
4963 * +Symbol+ (such as <code>:name</code>).