summaryrefslogtreecommitdiff
path: root/thread_sync.c
Commit message (Expand)AuthorAgeFilesLines
* Use UNALIGNED_MEMBER_PTRNobuyoshi Nakada2019-05-311-1/+1
* thread_sync.c (rb_mutex_t): eliminate fork_gennormal2018-12-221-40/+1
* thread_sync.c (rb_mutex_cleanup_keeping_mutexes): update fork_gennormal2018-12-211-0/+16
* thread_sync.c (rb_mutex_abandon_keeping_mutexes): remove unnecessary checknormal2018-12-211-3/+1
* thread_sync.c (mutex_ptr): only reinitalize waitqueue at forknormal2018-12-181-2/+0
* Prefer rb_check_arity when 0 or 1 argumentsnobu2018-12-061-1/+1
* thread_sync.c (mutex_ptr): handle mutexes held by parent threads in childrennormal2018-12-051-0/+11
* Add some missing documentation to Queue#{close|deq} [ci skip]marcandre2018-09-161-1/+3
* thread_sync.c: common wakeup_{one,all} implementationnormal2018-08-261-16/+11
* thread.c: use rb_hrtime_t scalar for high-resolution time operationsnormal2018-08-251-8/+10
* thread*.c: replace GetMutexPtr with mutex_ptrnormal2018-08-211-23/+22
* thread*.c: avoid unnecessary initialization for list_for_each_safenormal2018-08-201-3/+3
* thread_sync.c (rb_condvar_initialize): remove extra semicolonnormal2018-08-191-1/+1
* thread_sync.c (rb_mutex_sleep): disable interrupt checking in ensurenormal2018-08-191-16/+31
* thread_sync.rb (rb_condvar_wait): golf out unnecessary variablesnormal2018-08-191-4/+1
* Revert "thread_sync.c (rb_mutex_sleep): skip interrupt check before sleep"normal2018-08-191-3/+2
* thread_sync.c (rb_mutex_sleep): skip interrupt check before sleepnormal2018-08-181-2/+3
* Revert r64441eregon2018-08-181-48/+26
* thread_sync.c (rb_mutex_synchronize): only unlock if we own the mutexnormal2018-08-181-26/+48
* Revert "thread_sync.c (do_sleep): avoid thread-switch/interrupt check"normal2018-08-181-6/+0
* thread_sync.c (do_sleep): avoid thread-switch/interrupt checknormal2018-08-181-0/+6
* thread_sync.c (rb_mutex_lock): acquire lock before being killednormal2018-08-161-1/+7
* [Doc] Recover example about Queuetenderlove2018-07-251-0/+2
* UNREACHABLE_RETURNnobu2018-07-241-1/+1
* thread_sync.c (rb_mutex_lock): fix deadlocknormal2018-06-221-8/+6
* thread_sync.c (condvar_ptr): reset fork_gen after forkingnormal2018-04-301-0/+1
* thread_sync.c: remove "volatile" qualifiersnormal2018-04-281-4/+4
* thread_sync.c: remove unused list_headsnormal2018-04-281-8/+0
* thread_sync: redo r62934 to use fork_gennormal2018-04-201-62/+33
* thread_sync.c: [DOC] fix typostomar2018-04-141-1/+1
* offsetof(type, foo.bar) is (arguably) a GCCismshyouhei2018-04-091-1/+2
* thread_sync.c: avoid reaching across stacks of dead threadsnormal2018-03-271-5/+70
* thread.c: reset waitq of keeping mutexes in childnormal2018-03-051-0/+14
* [DOC] missing docs at toplevelnobu2018-02-231-0/+16
* no ID cache in Init functionsnobu2018-02-161-0/+1
* thread.c: favor timespec internallynormal2018-02-071-6/+9
* raise_closed_queue_error marked as NORETURNshyouhei2018-01-181-0/+2
* thread_sync.c: fix rdocnobu2017-12-191-14/+12
* move rb_thread_t::interrupt_flag and maskko12017-11-061-3/+3
* Remove unnecessary `require 'thread'`kazu2017-10-081-5/+1
* UNALIGNED_MEMBER_ACCESSnobu2017-07-301-14/+18
* thread_sync.c: fix documentation for Queue#closenormal2017-06-231-1/+1
* thread_sync.c: rewrite the rest using using ccan/listnormal2017-05-191-158/+319
* thread_sync.c: rename mutex_waiter struct to sync_waiternormal2017-05-191-5/+5
* suppress a warning [ci skip]nobu2017-05-141-1/+1
* adjust styles [ci skip]nobu2017-05-101-6/+7
* reduce rb_mutex_t size from 80 bytes to 72 bytes on 64-bitnormal2017-05-081-5/+9
* reduce rb_mutex_t size from 160 to 80 bytes on 64-bitnormal2017-05-081-89/+59
* thread_sync.c: document SizedQueue#clear correctly [ci skip]normal2017-04-301-1/+1
* thread_sync.c (rb_mutex_lock): spelling fix [ci skip]normal2017-04-251-1/+1