/macosx-10.10.1/ruby-106/ruby/benchmark/ |
H A D | bm_vm_thread_alive_check1.rb | 2 t = Thread.new{} 4 Thread.pass
|
H A D | bm_vm_thread_pass_flood.rb | 2 Thread.new{loop{Thread.pass}}
|
H A D | bm_vm_thread_create_join.rb | 4 Thread.new{
|
H A D | bm_vm_thread_pass.rb | 8 Thread.new{ 10 Thread.pass
|
H A D | bm_vm_thread_pipe.rb | 6 [Thread.new{ 11 }, Thread.new{
|
H A D | bm_vm_thread_mutex1.rb | 9 Thread.new{
|
H A D | bm_vm_thread_mutex2.rb | 9 Thread.new{
|
H A D | bm_vm_thread_mutex3.rb | 8 Thread.new{
|
/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_threadgroup.rb | 8 Thread.new{ 9 thgrp.add(Thread.current) 10 assert_equal(thgrp, Thread.new{sleep 1}.group) 17 t = Thread.new{1} 18 Thread.new{ 19 thgrp.add(Thread.current) 22 Thread.new{1}.join 28 ThreadGroup.new.add Thread.current 38 t = Thread.new{1} 39 Thread [all...] |
H A D | test_thread.rb | 7 class Thread < ::Thread class in class:TestThread 17 Thread::Threads.clear 21 Thread::Threads.each do |t| 31 assert_equal Thread.main, Thread.current 33 Thread.current.thread_variable_set :foo, "bar" 36 Fiber.yield [Thread.current, Thread.current.thread_variable_get(:foo)] 39 assert_equal Thread [all...] |
H A D | test_flip.rb | 26 th = Thread.new { 28 Thread.pass while a 33 Thread.pass until a
|
/macosx-10.10.1/ruby-106/ruby/ext/fiddle/lib/ |
H A D | fiddle.rb | 7 # Returns the last win32 +Error+ of the current executing +Thread+ or nil 10 Thread.current[:__FIDDLE_WIN32_LAST_ERROR__] 13 # Sets the last win32 +Error+ of the current executing +Thread+ to +error+ 15 Thread.current[:__FIDDLE_WIN32_LAST_ERROR__] = error 19 # Returns the last +Error+ of the current executing +Thread+ or nil if none 21 Thread.current[:__FIDDLE_LAST_ERROR__] 24 # Sets the last +Error+ of the current executing +Thread+ to +error+ 26 Thread.current[:__DL2_LAST_ERROR__] = error 27 Thread.current[:__FIDDLE_LAST_ERROR__] = error
|
/macosx-10.10.1/libauto-186/ |
H A D | ClearStack.cpp | 3 #include "Thread.h" 12 void Thread::clear_stack() {
|
/macosx-10.10.1/ruby-106/ruby/ |
H A D | prelude.rb | 1 class Thread class 5 # Thread.exclusive { block } => obj 7 # Wraps a block in Thread.critical, restoring the original value
|
/macosx-10.10.1/ruby-106/ruby/bootstraptest/ |
H A D | test_thread.rb | 0 # Thread and Fiber 4 Thread.new{ 9 Thread.new{ 16 Thread.new{ 27 Thread.new{ 37 Thread.new{ 46 t = Thread.new{} 48 Thread.pass 54 Thread.new{loop{Thread [all...] |
/macosx-10.10.1/ruby-106/ruby/sample/drb/ |
H A D | simpletuple.rb | 18 Thread.critical = true 29 Thread.critical = false 34 Thread.critical = true 40 @waiting[key].push Thread.current 41 Thread.stop 48 Thread.critical = false 59 Thread.start { 70 Thread.start {
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | sync.rb | 40 unless defined? Thread 41 raise "Thread not available for this ruby interpreter" 60 Message = "Thread(%s) not locked." 138 Thread.handle_interrupt(StandardError => :on_blocking) do 145 if sync_sh_locker[Thread.current] 146 sync_upgrade_waiting.push [Thread.current, sync_sh_locker[Thread.current]] 147 sync_sh_locker.delete(Thread.current) 149 unless sync_waiting.include?(Thread.current) || sync_upgrade_waiting.reverse_each.any?{|w| w.first == Thread [all...] |
H A D | monitor.rb | 34 # Thread.start do 168 if @mon_owner != Thread.current 172 @mon_owner = Thread.current 184 if @mon_owner != Thread.current 186 @mon_owner = Thread.current 245 if @mon_owner != Thread.current 251 @mon_owner = Thread.current
|
/macosx-10.10.1/ruby-106/ruby/test/io/nonblock/ |
H A D | test_flush.rb | 27 Thread.new { 28 Thread.pass 31 t = Thread.new { 32 while (Thread.pass; s = r.read(4096))
|
/macosx-10.10.1/ruby-106/ruby/test/thread/ |
H A D | test_queue.rb | 20 Thread.new { 27 Thread.new { 61 t1 = Thread.new { q.pop } 69 t1 = Thread.new { q.pop } 78 t1 = Thread.new { q.push(2) } 96 th = Thread.start { 117 t1 = Thread.new do 121 t2 = Thread.new do 125 t3 = Thread.new do 126 Thread [all...] |
/macosx-10.10.1/ruby-106/ruby/sample/ |
H A D | dualstack-httpd.rb | 25 threads[i] = Thread.start do # Thread.start cannot be used here! 27 t = Thread.current 31 Thread.start do 32 STDERR.print "socket #{myname} accepted, thread ", Thread.current, "\n" 47 STDERR.print "socket #{myname} processed, thread ", Thread.current, " terminating\n"
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/heap/ |
H A D | MachineStackMarker.h | 50 class Thread; 55 void gatherFromOtherThread(ConservativeRoots&, Thread*, JITStubRoutineSet&, CodeBlockSet&); 58 Thread* m_registeredThreads;
|
/macosx-10.10.1/ruby-106/ruby/test/monitor/ |
H A D | test_monitor.rb | 14 th = Thread.start { 19 Thread.pass 27 Thread.pass 37 th = Thread.start { 42 Thread.pass 50 Thread.pass 60 t1 = Thread.start { 66 t2 = Thread.start { 86 th = Thread.start { 109 Thread [all...] |
/macosx-10.10.1/ruby-106/ruby/test/xmlrpc/ |
H A D | webrick_testing.rb | 13 @__server_thread = Thread.new { 32 Thread.pass until @__started # wait until the server is ready 39 Thread.pass while @__started # wait until the server is down
|
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/ |
H A D | multi-ip_sample2.rb | 3 th = Thread.new{Tk.mainloop} 25 Thread.new{ip1.eval_proc(cmd, 1.1)} 26 Thread.new{ip2.eval_proc(cmd, 0.3)}
|