copperplate/threadobj: do not assume timer_id cannot be zero
Unlike glibc, libcobalt may return zero as a valid timer id. Use a threadobj status flag to figure out whether a periodic timer was set for the thread, instead of testing periodic_timer for NULLness. This fixes set_periodic/wait_period services which have been broken since commit #73de42cc was merged.
Please register or sign in to comment