uC/OS-II real time kernel

Hi all,

I am a new starter of using uC/OS-II real time kernel. I have to use this for preemptive multitasking for machine control programs. I have learnt most of the aspects and I have started to write some sample codes using this real time operating system. But I am using only OSTimeDelayHMSM() to force the multitasking.

I have to write codes to automate some hydraulic pumps, Winch monitoring systems, etc… I have learnt about semaphores, queues, mail boxes and flags. Could someone explain me how to use these for multitasking in machine control codes.

I am using BL2600 Single Board Computer and Dynamic C to develop my projects. If anyone have sample codes other than in the sample folders of Dynamic C, Please send me to have a view of it