aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
Commit message (Expand)AuthorAgeFilesLines
* [DOC] Fixed indent [ci skip]Nobuyoshi Nakada2021-01-141-1/+1
* Proposed method for dealing with stack locals which have non-local lifetime.Samuel Williams2020-12-051-44/+51
* strip trailing spaces and adjusted indents [ci skip]Nobuyoshi Nakada2020-11-121-1/+1
* Tidy up book keeping for `thread->keeping_mutexes`.Samuel Williams2020-11-081-18/+35
* Don't try to resume blocked fiber on dead thread.Samuel Williams2020-11-081-5/+5
* Rename to `Fiber#set_scheduler`.Samuel Williams2020-11-071-3/+3
* Make `Thread#join` non-blocking.Samuel Williams2020-09-211-1/+1
* Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()Benoit Daloze2020-09-201-6/+13
* Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765Benoit Daloze2020-09-181-1/+1
* Only interrupt when there is no scheduler in sync_wakeup()Benoit Daloze2020-09-181-2/+4
* Cleanup commented codeBenoit Daloze2020-09-171-4/+0
* Add missing goto found;Benoit Daloze2020-09-171-0/+1
* Fix Mutex#unlock with a scheduler and thread contentionBenoit Daloze2020-09-171-13/+13
* Call scheduler.block instead of scheduler.kernel_sleep for blocking Queue/Siz...Benoit Daloze2020-09-171-5/+5
* Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze2020-09-171-3/+3
* Add support for Queue & SizedQueue.Samuel Williams2020-09-141-31/+39
* Add support for ConditionVariable.Samuel Williams2020-09-141-31/+44
* Improve handling of urgent notification pipe.Samuel Williams2020-09-141-45/+41
* Make Mutex per-Fiber instead of per-ThreadBenoit Daloze2020-09-141-37/+69
* Introduce Ractor mechanism for parallel executionKoichi Sasada2020-09-031-5/+6
* rb_szqueue_push: do not goto into a branch卜部昌平2020-06-291-2/+1
* Thread scheduler for light weight concurrency.Samuel Williams2020-05-141-1/+6
* Added more NORETURN declarationsNobuyoshi Nakada2020-05-111-0/+1
* more on NULL versus functions.卜部昌平2020-02-071-1/+1
* add assertion for mutex_lock.Koichi Sasada2019-10-281-5/+16
* Adjusted spaces [ci skip]Nobuyoshi Nakada2019-09-271-1/+2
* fix arity of rb_mutex_synchronize_m卜部昌平2019-08-291-1/+1
* rb_ensure now free from ANYARGS卜部昌平2019-08-271-1/+2
* do_mutex_lock: release mutex before checking for interrupts (fixes issue 15360)Neeraj Bhunwal2019-06-111-1/+5
* 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