Hi,
Is UART_write() in blocking mode (as well as other prolonged driver functions) thread safe ?
e.g. - consider the following scenario:
- Low priority thread A is blocked on long UART_write() operation...
- Now high priority Thread B preempts thread A and tries to UART_write() as well.
What happens in this situation? Will Thread A's UART_write() conclude gracefully ? Do UART_write() calls use some locking mechanism ?
Thanks