Nekotekina
|
fb5cdf9769
|
atomic_t<>: extend fetch_op to support cancellation
Use std::invoke inside atomic_op/fetch_op
Remove op_fetch because it's easily replaced
Add fetch_dec_sat algorithm (conditional decrement)
|
2018-09-08 00:32:04 +03:00 |
|
Nekotekina
|
ca5158a03e
|
Cleanup semaphore<> (sema.h) and mutex.h (shared_mutex)
Remove semaphore_lock and writer_lock classes, replace with std::lock_guard
Change semaphore<> interface to Lockable (+ exotic try_unlock method)
|
2018-09-03 23:00:36 +03:00 |
|
Nekotekina
|
b1aa87b515
|
Busy waiting added
|
2017-02-16 00:13:55 +03:00 |
|
Nekotekina
|
a5a2d43d7c
|
Thread.cpp refinement
Hide thread mutex
Safe notify() method
Other refactoring
|
2017-01-29 19:52:19 +03:00 |
|
Nekotekina
|
1c14d872a8
|
New shared_mutex
Experimental sync utils
New semaphore<>
New cond_variable
New owned_mutex
|
2017-01-25 00:38:07 +03:00 |
|