Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/laser/standard_library/_thread.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.abort_on_exceptionObject



3
4
# File 'lib/laser/standard_library/_thread.rb', line 3

def abort_on_exception
end

.abort_on_exception=(bool) ⇒ Object



6
7
# File 'lib/laser/standard_library/_thread.rb', line 6

def abort_on_exception=(bool)
end

.currentObject



9
10
# File 'lib/laser/standard_library/_thread.rb', line 9

def current
end

.exclusiveObject

yields: once



13
14
# File 'lib/laser/standard_library/_thread.rb', line 13

def exclusive
end

.exitObject



16
17
# File 'lib/laser/standard_library/_thread.rb', line 16

def exit
end

.kill(thread) ⇒ Object



23
24
# File 'lib/laser/standard_library/_thread.rb', line 23

def kill(thread)
end

.listObject



26
27
# File 'lib/laser/standard_library/_thread.rb', line 26

def list
end

.mainObject



29
30
# File 'lib/laser/standard_library/_thread.rb', line 29

def main
end

.passObject



32
33
# File 'lib/laser/standard_library/_thread.rb', line 32

def pass
end

.start(*args) ⇒ Object Also known as: fork



19
20
# File 'lib/laser/standard_library/_thread.rb', line 19

def start(*args)
end

.stopObject



35
36
# File 'lib/laser/standard_library/_thread.rb', line 35

def stop
end

Instance Method Details

#[](key) ⇒ Object



39
40
# File 'lib/laser/standard_library/_thread.rb', line 39

def [](key)
end

#[]=(key, val) ⇒ Object



42
43
# File 'lib/laser/standard_library/_thread.rb', line 42

def []=(key, val)
end

#abort_on_exceptionObject



45
46
# File 'lib/laser/standard_library/_thread.rb', line 45

def abort_on_exception
end

#abort_on_exception=(val) ⇒ Object



48
49
# File 'lib/laser/standard_library/_thread.rb', line 48

def abort_on_exception=(val)
end

#add_trace_func(proc) ⇒ Object



51
52
# File 'lib/laser/standard_library/_thread.rb', line 51

def add_trace_func(proc)
end

#alive?Boolean

Returns:

  • (Boolean)


54
55
# File 'lib/laser/standard_library/_thread.rb', line 54

def alive?
end

#backtraceObject



57
58
# File 'lib/laser/standard_library/_thread.rb', line 57

def backtrace
end

#exitObject Also known as: kill, terminate



60
61
# File 'lib/laser/standard_library/_thread.rb', line 60

def exit
end

#groupObject



65
66
# File 'lib/laser/standard_library/_thread.rb', line 65

def group
end

#inspectObject



68
69
# File 'lib/laser/standard_library/_thread.rb', line 68

def inspect
end

#join(limit = nil) ⇒ Object



71
72
# File 'lib/laser/standard_library/_thread.rb', line 71

def join(limit=nil)
end

#key?(sym) ⇒ Boolean

Returns:

  • (Boolean)


74
75
# File 'lib/laser/standard_library/_thread.rb', line 74

def key?(sym)
end

#keysObject



77
78
# File 'lib/laser/standard_library/_thread.rb', line 77

def keys
end

#priorityObject



80
81
# File 'lib/laser/standard_library/_thread.rb', line 80

def priority
end

#priority=(val) ⇒ Object



83
84
# File 'lib/laser/standard_library/_thread.rb', line 83

def priority=(val)
end

#raise(*args) ⇒ Object

raises: always



87
88
# File 'lib/laser/standard_library/_thread.rb', line 87

def raise(*args)
end

#runObject



90
91
# File 'lib/laser/standard_library/_thread.rb', line 90

def run
end

#safe_levelObject



93
94
# File 'lib/laser/standard_library/_thread.rb', line 93

def safe_level
end

#set_trace_func(proc) ⇒ Object



96
97
# File 'lib/laser/standard_library/_thread.rb', line 96

def set_trace_func(proc)
end

#statusObject



99
100
# File 'lib/laser/standard_library/_thread.rb', line 99

def status
end

#stop?Boolean

Returns:

  • (Boolean)


102
103
# File 'lib/laser/standard_library/_thread.rb', line 102

def stop?
end

#valueObject



105
106
# File 'lib/laser/standard_library/_thread.rb', line 105

def value
end

#wakeupObject



108
109
# File 'lib/laser/standard_library/_thread.rb', line 108

def wakeup
end