We need a lot more information than that to help you, otherwise it looks like we are doing a homework assignment for your class?
Are you using uCOS-II or uCOS-III?
III never really got the exposure that II did, so II is more common.
It is also the one I'm partial to, as if you find a the first edition of the book, my name is in the credits for helping getting it running (compared to uCOS-I).
When Jean Lambros retired Micron/SiLabs open sourced uCOS, so you can find a lot of good info by looking at that documentation and source code. The license was also changed to Apache.
https://www.osrtos.com/rtos/uc-os-ii/
Alternatives to uCOS-II are FreeRTOS which has support in the MCUXpresso IDE tool that is probably the best place to start if you've not used this line of parts before.
On NXP's GitHub page they are actually more supportive of Zephyr as an RTOS.
https://www.zephyrproject.orgZephyr
What is your actual intention for using a RTOS and what is the end goal of your project?