summaryrefslogtreecommitdiff
path: root/thread_sync.c
AgeCommit message (Expand)Author
2019-08-29fix arity of rb_mutex_synchronize_m卜部昌平
2019-08-27rb_ensure now free from ANYARGS卜部昌平
2019-06-11do_mutex_lock: release mutex before checking for interrupts (fixes issue 15360)Neeraj Bhunwal
2019-05-31Use UNALIGNED_MEMBER_PTRNobuyoshi Nakada
2018-12-22thread_sync.c (rb_mutex_t): eliminate fork_gennormal
2018-12-21thread_sync.c (rb_mutex_cleanup_keeping_mutexes): update fork_gennormal
2018-12-21thread_sync.c (rb_mutex_abandon_keeping_mutexes): remove unnecessary checknormal
2018-12-18thread_sync.c (mutex_ptr): only reinitalize waitqueue at forknormal
2018-12-06Prefer rb_check_arity when 0 or 1 argumentsnobu
2018-12-05thread_sync.c (mutex_ptr): handle mutexes held by parent threads in childrennormal
2018-09-16Add some missing documentation to Queue#{close|deq} [ci skip]marcandre
2018-08-26thread_sync.c: common wakeup_{one,all} implementationnormal
2018-08-25thread.c: use rb_hrtime_t scalar for high-resolution time operationsnormal
2018-08-21thread*.c: replace GetMutexPtr with mutex_ptrnormal
2018-08-20thread*.c: avoid unnecessary initialization for list_for_each_safenormal
2018-08-19thread_sync.c (rb_condvar_initialize): remove extra semicolonnormal
2018-08-19thread_sync.c (rb_mutex_sleep): disable interrupt checking in ensurenormal
2018-08-19thread_sync.rb (rb_condvar_wait): golf out unnecessary variablesnormal
2018-08-19Revert "thread_sync.c (rb_mutex_sleep): skip interrupt check before sleep"normal
2018-08-18thread_sync.c (rb_mutex_sleep): skip interrupt check before sleepnormal
2018-08-18Revert r64441eregon
2018-08-18thread_sync.c (rb_mutex_synchronize): only unlock if we own the mutexnormal
2018-08-18Revert "thread_sync.c (do_sleep): avoid thread-switch/interrupt check"normal
2018-08-18thread_sync.c (do_sleep): avoid thread-switch/interrupt checknormal
2018-08-16thread_sync.c (rb_mutex_lock): acquire lock before being killednormal
2018-07-25[Doc] Recover example about Queuetenderlove
2018-07-24UNREACHABLE_RETURNnobu
2018-06-22thread_sync.c (rb_mutex_lock): fix deadlocknormal
2018-04-30thread_sync.c (condvar_ptr): reset fork_gen after forkingnormal
2018-04-28thread_sync.c: remove "volatile" qualifiersnormal
2018-04-28thread_sync.c: remove unused list_headsnormal
2018-04-20thread_sync: redo r62934 to use fork_gennormal
2018-04-14thread_sync.c: [DOC] fix typostomar
2018-04-09offsetof(type, foo.bar) is (arguably) a GCCismshyouhei
2018-03-27thread_sync.c: avoid reaching across stacks of dead threadsnormal
2018-03-05thread.c: reset waitq of keeping mutexes in childnormal
2018-02-23[DOC] missing docs at toplevelnobu
2018-02-16no ID cache in Init functionsnobu
2018-02-07thread.c: favor timespec internallynormal
2018-01-18raise_closed_queue_error marked as NORETURNshyouhei
2017-12-19thread_sync.c: fix rdocnobu
2017-11-06move rb_thread_t::interrupt_flag and maskko1
2017-10-08Remove unnecessary `require 'thread'`kazu
2017-07-30UNALIGNED_MEMBER_ACCESSnobu
2017-06-23thread_sync.c: fix documentation for Queue#closenormal
2017-05-19thread_sync.c: rewrite the rest using using ccan/listnormal
2017-05-19thread_sync.c: rename mutex_waiter struct to sync_waiternormal
2017-05-14suppress a warning [ci skip]nobu
2017-05-10adjust styles [ci skip]nobu
2017-05-08reduce rb_mutex_t size from 80 bytes to 72 bytes on 64-bitnormal