Hello TI Members,
1.I am getting the above warning at " sem0Handle = Semaphore_create(1, &semParams ,&eb);" .
In order to get rid of this warning, How to update xdc tools or is there any other solution.
2. I am using the semaphore pend and post as follows:
Kindly correct if the usage is incorrect.
Program:
void *Thread3(void *arg0)
{
Semaphore_pend(semHandle, BIOS_WAIT_FOREVER);
UART_write(uart1, &Tx_Buffer1, 20);
Semaphore_post(semHandle);
}
void *Thread2(void *arg0)
{
Semaphore_pend(semHandle, BIOS_WAIT_FOREVER);
UART_write(uart1, &Tx_Buffer2, 20);
Semaphore_post(semHandle);
}
void *Thread1(void *arg0)
{
Semaphore_pend(semHandle, BIOS_WAIT_FOREVER);
UART_write(uart1, &Tx_Buffer3, 20);
Semaphore_post(semHandle);
}
Thank you.
Regards
Kalyan