support for PTHREAD_MUTEX_RECURSIVE ?

Joel Sherrill joel.sherrill at OARcorp.com
Sun Jul 5 15:09:13 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?
>
>   
Yes.  It has been on the todo list but hasn't made
the top.

I don't think it would be difficult to implement but
it would take a bit of time and require adding a test.
The test coverage of the cpukit directories score,
sapi, posix and rtems is ~98.5% and we don't want
any new features to negatively impact that.

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




More information about the users mailing list