aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
Commit message (Expand)AuthorAgeFilesLines
* * vm_core.h (rb_vm_struct): add thread_destruct_lock field.kosaki2012-11-301-1/+15
* revert r35486 (add rb_thread_t#yeiling field). because it doesn't helpkosaki2012-11-301-5/+1
* * thread.c: TracePoint#self returns invoking/exitting thread objectko12012-11-301-2/+2
* * thread.c: rename Thread.control_interruptko12012-11-301-55/+81
* * thread.c (rb_thread_interrupted): avoid warning ofko12012-11-291-2/+2
* [EXPERIMENTAL: NEED DISCUSS]ko12012-11-291-2/+3
* Revert r37956: thread.c (thread_start_func_2): small cleanups.kosaki2012-11-291-9/+10
* * thread.c (thread_start_func_2): remove unused code. Whenkosaki2012-11-291-8/+7
* Revert r37953: thread.c (thread_start_func_2): remove unused code. securitynaruse2012-11-291-2/+10
* * thread.c (do_select): suppress warning (uninitialized value warning)naruse2012-11-291-1/+2
* * thread.c (thread_start_func_2): small cleanups.kosaki2012-11-281-10/+9
* * thread.c (thread_start_func_2): remove unused code.kosaki2012-11-281-19/+13
* * thread.c (thread_start_func_2): remove unused code.kosaki2012-11-281-1/+0
* * thread.c (thread_start_func_2): remove unused code. securitykosaki2012-11-281-10/+2
* * thread.c (rb_mutex_sleep): fix to allow spurious wakeup.ko12012-11-281-3/+6
* * include/ruby/thread.h (rb_thread_call_without_gvl2): changeko12012-11-281-86/+99
* * thread.c (thread_join_sleep): check spurious wakeup by itself fortarui2012-11-281-35/+33
* * vm_core.h (enum rb_thread_status): remove THREAD_TO_KILLkosaki2012-11-281-18/+21
* * thread.c (struct rb_mutex_struct): add allow_trap field.kosaki2012-11-281-10/+13
* * thread.c (rb_mutex_lock): moved trap context check fromkosaki2012-11-281-6/+6
* * thread.c (thread_s_new): uses main_thread->status instead ofkosaki2012-11-281-3/+1
* * thread.c (thread_join): A trap handler check was moved fromkosaki2012-11-281-6/+4
* * thread.c (rb_thread_terminate_all): retry broadcast only whenko12012-11-271-2/+8
* * thread.c (rb_thread_terminate_all): broadcast terminate eventko12012-11-271-14/+5
* * thread.c (rb_thread_terminate_all): suppress a warning.kosaki2012-11-271-0/+1
* * thread.c (thread_join): raises ThreadError if target theradkosaki2012-11-271-0/+3
* * thread.c (thread_join): raises ThreadError if target threadkosaki2012-11-271-0/+4
* * thread.c (rb_thread_terminate_all): broadcast eTerminateSignalkosaki2012-11-261-5/+12
* * thread.c (rb_thread_terminate_all): add RUBY_VM_CHECK_INTS_BLOCKING().kosaki2012-11-261-0/+1
* * thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep):kosaki2012-11-261-0/+15
* * thread.c (rb_thread_terminate_all): use native_sleep() insteadkosaki2012-11-261-1/+4
* * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT)kosaki2012-11-261-5/+6
* * thread.c (thread_join_m): use th->interrupt_mask instead ofkosaki2012-11-261-3/+1
* * ruby_atomic.h (ATOMIC_CAS): new macro for compare-and-exchange.kosaki2012-11-261-10/+27
* split trap interrupt and async interruptkosaki2012-11-261-6/+22
* * vm_core.h (rb_thread_struct): added 'in_trap' member for markingkosaki2012-11-261-0/+9
* * thread.c (thread_create_core): don't use th->thread_id beforekosaki2012-11-241-2/+1
* * vm_trace.c: add two methods:ko12012-11-201-1/+1
* revert r37730 kosaki2012-11-201-133/+132
* * thread.c (rb_thread_s_check_interrupt): removed redundantkosaki2012-11-191-3/+3
* * thread.c (rb_threadptr_async_errinfo_active_p): added a smallkosaki2012-11-191-3/+11
* * thread.c, vm_core.h: big rename th to cur_th when works onlykosaki2012-11-191-132/+133
* * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()kosaki2012-11-191-1/+1
* * thread.c (rb_threadptr_execute_interrupts) removed.kosaki2012-11-191-12/+4
* * prelude.rb: Moved Mutex#synchronize tokosaki2012-11-191-0/+18
* * thread.c: add `Thread#backtrace_locations' method.ko12012-11-191-3/+10
* * thread.c (rb_thread_call_without_gvl2): change the parameter ofko12012-11-161-9/+9
* suppress warning: 'val' may be used uninitialized in this functionnaruse2012-11-011-1/+1
* * thread.c (rb_thread_call_without_gvl2): Note that ubf() may or maydrbrain2012-10-311-4/+8
* * thread.c (rb_thread_call_without_gvl2): Update documentation todrbrain2012-10-311-64/+65