I was trying to search for how std::conidition_variable::wait
is implemented in the standard library on my local machine, I can see wait_unitl
but I cannot find wait
.
My question is, how is the wait
function implemented internally, how would one make a thread sleep indefinitely, is it using some long timed sleep or something entirely different that is OS-specific?
Thanks!