cannot create thread with RTEMS

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jun 15 21:24:03 UTC 2010


On 06/15/2010 03:57 PM, João Rasta wrote:
> Hello,
>
> I'm compiling a pthread based project with sparc-rtems-gcc, however 
> pthread_mutex_init returns EAGAIN, which means:
>
> "The system lacked the necessary resources (other than memory) to 
> initialise
> another mutex."
>
> Or by other words, "No more Processes".
>
http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.9.4/share/rtems/html/c_user/c_user00410.html

You configured the system with 0 mutexes.
>
> Why pthread_mutex_init() isn't working with rtems? It should create 
> the thread right? Do i need to pass any special flag to the compiler?
>
>
> Best,
> JM 


-- 
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