Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Need help with UART in non-blocking read

$
0
0
Thanks Dale.   I just read up on the function "tx_event_flags_get" used in the while loop of api- read.  Now I understand that the thread is suspended until the event occurs or a specified number of ticks passes without the event. Still learning ThreadX so I did not see where the thread was suspended when I looked at the "read" code --- it looked like "tx_even_flags_get" was a polled function to me. Now I will set up a thread for each of my slow async UART channels and rely upon the API to do my work. Steve

Viewing all articles
Browse latest Browse all 59170