what's role of 'extract' of structure Objects_Information's member?
Gedare Bloom
gedare at rtems.org
Wed Sep 12 15:06:17 UTC 2012
Except here it is a function pointer that is a call-out executed when
a thread gets extracted from a threadq (which is the "blocking"
mechanism in RTEMS).
On Wed, Sep 12, 2012 at 11:02 AM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> On 9/12/2012 9:55 AM, Bacon Xu wrote:
>>
>> Thank you very much. I'm very confused about the role of "extract".
>> What kind of case do I use it? How to use it?
>> The document haven't mentioned it. to free some resource to RTEMS, or
>> to notice other nodes that this object has been teared down. I have no
>> idea.
>
>
> Extract is used in RTEMS as a list manipulation term.
>
> + append - add to list at end
> + prepend - add to list at beginning
> + insert - add to list at arbitrary point
> + extract - remove from list at arbitrary point
> + get - remove from beginning of list
>
> Extract thread removes an arbitrary thread from a blocking set (e.g. thread
> queue)
> no matter where it is in the thread queue.
>>
>>
>
>
> --
> Joel Sherrill, Ph.D. Director of Research& Development
> joel.sherrill at OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
>
More information about the users
mailing list