PThread

Nick.SIMON at syntegra.bt.co.uk Nick.SIMON at syntegra.bt.co.uk
Wed May 3 17:29:23 UTC 2000


I think Yi is asking if a thread created with the posix API is "really" an
RTEMS task.  To which I believe the answer is yes (not that I've used Posix
API).


-- Nick Simon 

> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
> Sent: 03 May 2000 17:45
> To: Gu, Yi (Yi)** CTR **
> Cc: 'rtems-users at oarcorp.com'
> Subject: Re: PThread
> 
> 
> "Gu, Yi (Yi)** CTR **" wrote:
> > 
> > Is PThread compatible with RTEMS native task?
> 
> I do not understand the question.
> 
> RTEMS has support for 3 APIs:
>   - Classic RTEID API             (on by default)
>   - POSIX API (includes pthreads) (--enable-posix)
>   - uITRON API                    (--enable-itron)
> 
> The POSIX API has threads that are POSIX 1003.1b 
> compliant.  That makes them compatible with POSIX 
> threads packages on numerous UNIX flavors.
> 
> Threads/tasks created with any of the APIs can use
> services from the other APIs.  For example, Classic
> API tasks can block on a POSIX mutex.
>  
> > Yi
> 
> -- 
> 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