boostorg / fiber

userland threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fiber::sleepfor stop updating when system clock moves backwards

arc130 opened this issue · comments

I'm using fiber with shared_work algo on boost 1.78 aarch64.
a simple code is

while (true){
  this_fiber::sleep_for(100ms);

}

when system clock moves backwards, this fiber would never resumed.