Orgad Shaneh
1a28b73a2d
MT#55283 Rename aux -> helpers
Windows doesn't allow a file to be named aux, so checkout fails.
closes #1686
Change-Id: I4667561f430ec8d4767d2313890839754be77322
3 years ago
Richard Fuchs
a6ecfb8a80
MT#55283 refactor load monitor thread
Use the looper thread helper functions.
Change-Id: Ib272ce706484f393bd42f291231c82ff6ea5212f
3 years ago
Richard Fuchs
08a05e76ec
MT#55524 add thread cancel helper macros
Convenience macros to enable and disable thread cancellation
Change-Id: I1c588af83a4c6a45c60b60d941aa446b07e72978
3 years ago
Richard Fuchs
b1d17cdcef
TT#14008 use pthread_cancel semantics for shutdown
Instead of having each thread sleep only a little while and then
periodically check for the shutdown flag, make them sleep longer and use
pthread_cancel() to interrupt the sleep during a shutdown in the
designated break points.
Change-Id: I13f1872a0176697e064ceef4062db6ca6ccf7a0e
4 years ago
Guillem Jover
2c565874c7
TT#108003 Do not allow division by 0 load_thread()
We should make sure total_secs is never 0.
Change-Id: I532c7d67a640b7f88ed6f7c0ff31189fe0d98fb0
Warned-by: coverity
5 years ago
Richard Fuchs
345836e90a
TT#35413 implement a CPU limit and a load limit
Change-Id: Ia0c605d17866c232353917f2980637fa7823dce4
8 years ago