In certain cases when usleep is passed a small value, there is a race condition that would cause the process to hang and then when an attempt to quit the thread was made new contexts would be allocated rapidly filling all available memory. |
||
|---|---|---|
| .. | ||
| context.hpp | ||
| future.cpp | ||
| mutex.cpp | ||
| spin_lock.cpp | ||
| spin_yield_lock.cpp | ||
| task.cpp | ||
| thread.cpp | ||
| thread_d.hpp | ||