| |||||
Technical Support Support Resources
Product Information | RTX51: WHAT DOES OS_WAIT(K_TMO, 0, 0) DO?QUESTIONIn my RTX51 program, what happens when I execute the following code? os_wait (K_TMO, 0, 0); Does the kernel switch tasks or does it return immediately? ANSWERIn RTX51, the following function call... os_wait (K_TMO, 0, 0); does nothing. It returns without transferring control to any other task. To transfer to another waiting task, you must use the following: os_wait (K_TMO, 1, 0); Last Reviewed: Monday, June 07, 2004 | ||||
| |||||