Marko
2ac5a559b4
libs: wrap mutexes for build flag with godeadlock ( #5126 )
## Description
This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files
Closes : #3242
4 years ago
Marko
89f0bbbd76
libs/common: Refactor libs/common 4 ( #4237 )
* libs/common: Refactor libs/common 4
- move byte function out of cmn to its own pkg
- move tempfile out of cmn to its own pkg
- move throttletimer to its own pkg
ref #4147
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* add changelog entry
* fix linting issues
5 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
6 years ago
Anton Kaliaev
e17e8e425f
Revert "Refactor throttle timer"
7 years ago
Anton Kaliaev
70e30f74e6
Revert "Refactor repeat timer"
7 years ago
Ethan Frey
ec4adf21e0
Cleanup from PR comments
7 years ago
Ethan Frey
8797197cdf
No more blocking on multiple Stop()
7 years ago
Ethan Frey
887d766c86
Refactored RepeatTimer, tests hang
7 years ago
Anton Kaliaev
3779310c72
return back output internal channel (way go does with Timer)
7 years ago
Ethan Frey
8b518fadb2
Don't close throttle channel, explain why
7 years ago
Ethan Frey
e430d3f844
One more attempt with a read-only channel
7 years ago
Ethan Frey
1ac4c5dd6d
Made throttle output non-blocking
7 years ago
Ethan Frey
0a8721113a
First pass of PR updates
7 years ago
Ethan Frey
4ec7883891
Cleanup
7 years ago
Ethan Frey
dcb4395604
Refactor throttle timer
7 years ago
Ethan Buchman
356657a37b
move all files to common/ to begin repo merge
8 years ago
Jae Kwon
70e694ee76
Fix ThrottleTimer null-pointer error / race condition
8 years ago
Ethan Buchman
930880f574
throttle_timer: fix race, use mtx instead of atomic
8 years ago
Jae Kwon
8dacd4172e
Fix bug where Unset halts ThrottleTimer
9 years ago
Jae Kwon
c58b1cbf8a
Add ThrottleTimer.Unset
9 years ago
Jae Kwon
16372365c4
First commit
9 years ago