support for PTHREAD_MUTEX_RECURSIVE ?

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jul 6 14:53:27 UTC 2009


Till Straumann wrote:
> It seems that rtems-4.9.2 already implements
> support for recursive pthread mutexes under
> the hood and yet there is no static initializer
> nor pthread_mutexattr_settype()/pthread_mutexattr_gettype().
> Wouldn't it be easy and worthwhile to add these?
>
>   
Till I added the basics for supporting these to
posix/src along with a switch in pthread_mutex_init.
Now it is up to you to translate the types into
supercore attributes and provide a test. :-D

> WKR
> -- Till
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>   


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