task returns

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Mon Feb 14 19:43:48 UTC 2005


Smith, Gene wrote:
> Simple question: What should happen when the function encompassing a 
> function simply returns without deleting itself?
> 

Depends whether it is a POSIX thread or a Classic API task.

Classic API task returnign is a fatal error.

PSOIX thread silently returns.  Behavior is modified based upon
whether or not the thread is attached or detached.  This is an attribute 
that specifies whether you may join with a thread.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel 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