Thursday 19 April 2018

Vxworks Task states




Semaphore Control Routines

Call
Description

semBCreate( )
Allocates and initializes a binary semaphore.
semMCreate( )
Allocates and initializes a mutual-exclusion semaphore.
semCCreate( )
Allocates and initializes a counting semaphore.
semDelete( )
Terminates and frees a semaphore.
semTake( )
Takes a semaphore.
semGive( )
Gives a semaphore.
semFlush( )
Unblocks all tasks that are waiting for a semaphore.
 Wind Message Queue Control

Call
Description

msgQCreate( )
Allocates and initializes a message queue.
msgQDelete( )
Terminates and frees a message queue.
msgQSend( )
Sends a message to a message queue.
msgQReceive( )
Receives a message from a message queue.



Task Scheduler Control Routines

Call
Description

kernelTimeSlice( )
Controls round-robin scheduling.
taskPrioritySet( )
Changes the priority of a task.
taskLock( )
Disables task rescheduling.
taskUnlock( )
Enables task rescheduling.

No comments:

Post a Comment