Determining the schedule - VxWorks

This is a discussion on Determining the schedule - VxWorks ; Hi, In VxWorks, how to know that the thread created will be scheduled to run by the VxWorks . Thx in advans, Karthik Balaguru...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Determining the schedule

  1. Determining the schedule

    Hi,

    In VxWorks, how to know that the thread created will be scheduled to
    run by the VxWorks .

    Thx in advans,
    Karthik Balaguru

  2. Re: Determining the schedule

    On Jun 21, 11:55 pm, karthikbalaguru
    wrote:
    > Hi,
    >
    > In VxWorks, how to know that the thread created will be scheduled to
    > run by the VxWorks .
    >
    > Thx in advans,
    > Karthik Balaguru


    Your question is not entirely clear... are you creating a VxWorks task
    or a POSIX thread? What mechanism are you using to create the task /
    thread?

    I'll assume you're referring to VxWorks tasks...

    If you use taskCreate() to create your thread, it will not be
    scheduled to run until you call taskActivate()

    If you use taskSpawn() to create your thread, it will run as soon as
    the scheduler permits, depending on the thread's priority and any
    options you may have specified.

+ Reply to Thread