Class: Thread
- Inherits:
-
Object
- Object
- Thread
- Defined in:
- lib/laser/standard_library/_thread.rb
Class Method Summary (collapse)
- + (Object) abort_on_exception
- + (Object) abort_on_exception=(bool)
- + (Object) current
-
+ (Object) exclusive
yields: once.
- + (Object) exit
- + (Object) kill(thread)
- + (Object) list
- + (Object) main
- + (Object) pass
- + (Object) start(*args) (also: fork)
- + (Object) stop
Instance Method Summary (collapse)
- - (Object) [](key)
- - (Object) []=(key, val)
- - (Object) abort_on_exception
- - (Object) abort_on_exception=(val)
- - (Object) add_trace_func(proc)
- - (Boolean) alive?
- - (Object) backtrace
- - (Object) exit (also: #kill, #terminate)
- - (Object) group
- - (Object) inspect
- - (Object) join(limit = nil)
- - (Boolean) key?(sym)
- - (Object) keys
- - (Object) priority
- - (Object) priority=(val)
-
- (Object) raise(*args)
raises: always.
- - (Object) run
- - (Object) safe_level
- - (Object) set_trace_func(proc)
- - (Object) status
- - (Boolean) stop?
- - (Object) value
- - (Object) wakeup
Class Method Details
+ (Object) abort_on_exception
3 4 |
# File 'lib/laser/standard_library/_thread.rb', line 3 def abort_on_exception end |
+ (Object) abort_on_exception=(bool)
6 7 |
# File 'lib/laser/standard_library/_thread.rb', line 6 def abort_on_exception=(bool) end |
+ (Object) current
9 10 |
# File 'lib/laser/standard_library/_thread.rb', line 9 def current end |
+ (Object) exclusive
yields: once
13 14 |
# File 'lib/laser/standard_library/_thread.rb', line 13 def exclusive end |
+ (Object) exit
16 17 |
# File 'lib/laser/standard_library/_thread.rb', line 16 def exit end |
+ (Object) kill(thread)
23 24 |
# File 'lib/laser/standard_library/_thread.rb', line 23 def kill(thread) end |
+ (Object) list
26 27 |
# File 'lib/laser/standard_library/_thread.rb', line 26 def list end |
+ (Object) main
29 30 |
# File 'lib/laser/standard_library/_thread.rb', line 29 def main end |
+ (Object) pass
32 33 |
# File 'lib/laser/standard_library/_thread.rb', line 32 def pass end |
+ (Object) start(*args) Also known as: fork
19 20 |
# File 'lib/laser/standard_library/_thread.rb', line 19 def start(*args) end |
+ (Object) stop
35 36 |
# File 'lib/laser/standard_library/_thread.rb', line 35 def stop end |
Instance Method Details
- (Object) [](key)
39 40 |
# File 'lib/laser/standard_library/_thread.rb', line 39 def [](key) end |
- (Object) []=(key, val)
42 43 |
# File 'lib/laser/standard_library/_thread.rb', line 42 def []=(key, val) end |
- (Object) abort_on_exception
45 46 |
# File 'lib/laser/standard_library/_thread.rb', line 45 def abort_on_exception end |
- (Object) abort_on_exception=(val)
48 49 |
# File 'lib/laser/standard_library/_thread.rb', line 48 def abort_on_exception=(val) end |
- (Object) add_trace_func(proc)
51 52 |
# File 'lib/laser/standard_library/_thread.rb', line 51 def add_trace_func(proc) end |
- (Boolean) alive?
54 55 |
# File 'lib/laser/standard_library/_thread.rb', line 54 def alive? end |
- (Object) backtrace
57 58 |
# File 'lib/laser/standard_library/_thread.rb', line 57 def backtrace end |
- (Object) exit Also known as: kill, terminate
60 61 |
# File 'lib/laser/standard_library/_thread.rb', line 60 def exit end |
- (Object) group
65 66 |
# File 'lib/laser/standard_library/_thread.rb', line 65 def group end |
- (Object) inspect
68 69 |
# File 'lib/laser/standard_library/_thread.rb', line 68 def inspect end |
- (Object) join(limit = nil)
71 72 |
# File 'lib/laser/standard_library/_thread.rb', line 71 def join(limit=nil) end |
- (Boolean) key?(sym)
74 75 |
# File 'lib/laser/standard_library/_thread.rb', line 74 def key?(sym) end |
- (Object) keys
77 78 |
# File 'lib/laser/standard_library/_thread.rb', line 77 def keys end |
- (Object) priority
80 81 |
# File 'lib/laser/standard_library/_thread.rb', line 80 def priority end |
- (Object) priority=(val)
83 84 |
# File 'lib/laser/standard_library/_thread.rb', line 83 def priority=(val) end |
- (Object) raise(*args)
raises: always
87 88 |
# File 'lib/laser/standard_library/_thread.rb', line 87 def raise(*args) end |
- (Object) run
90 91 |
# File 'lib/laser/standard_library/_thread.rb', line 90 def run end |
- (Object) safe_level
93 94 |
# File 'lib/laser/standard_library/_thread.rb', line 93 def safe_level end |
- (Object) set_trace_func(proc)
96 97 |
# File 'lib/laser/standard_library/_thread.rb', line 96 def set_trace_func(proc) end |
- (Object) status
99 100 |
# File 'lib/laser/standard_library/_thread.rb', line 99 def status end |
- (Boolean) stop?
102 103 |
# File 'lib/laser/standard_library/_thread.rb', line 102 def stop? end |
- (Object) value
105 106 |
# File 'lib/laser/standard_library/_thread.rb', line 105 def value end |
- (Object) wakeup
108 109 |
# File 'lib/laser/standard_library/_thread.rb', line 108 def wakeup end |