Real Time Operation System labor.c final version