Re: Regarding taskLock() and tasUnlock()



e.nagarjunareddy@xxxxxxxxx wrote:

Hi,

I am a newbie to VxWorks. I just wanted to know how the kernel is able
to lock the task context switching when a task under execution calls
the routine taskLock(). I have studied in many books saying the "when
taskLock() is called the scheduler will be disabled". I have some
doubts regarding this statement.


Read the manual page for taskLock. It works as described.

.