Tool/software: TI-RTOS
Hello,
I would like to create several semaphores but i need to do it in the C source code and NOT using the config file.
Can you please give a working example of how to do that (i have some idea after seeing partial generic description but most of the doc and help about semaphores uses the .cfg file)
about the semaphore params - the semaphore creates expect a pointer to the params struct but i could not find whether this pointer should be pointed to a global struct that is "connected" to the created semaphore or if it is only used to read the desired params and they are copied to the created semaphore, and after the call the params struct is not needed anymore?
Can you also explain what exactly it the role of the eb in semaphore create - is it really needed of NULL should be sufficient?
Thanks
Guy