Add forgotten thread_state modification after timeout Put back the timeout test between scheduling and the catch of the lock like in POSIX
Add forgotten thread_state modification after timeout
Put back the timeout test between scheduling and the catch of the lock
like in POSIX

pok-kernel/pok,pok-kernel/pok,pok-kernel/pok,pok-kernel/pok