Hacker News new | ask | show | jobs
by tmarthal 4824 days ago
In POSIX thread programming the "state machine" that you talk about is commonly called a Condition Variable. https://computing.llnl.gov/tutorials/pthreads/#ConVarOvervie...