Is there a problem for calling pthread_mutex_init() before starting posix thread task ?

Thomas Kim thomas73.kim at gmail.com
Mon Apr 14 10:37:18 UTC 2014


Dear Sir,

I am tring to integrate C++ software Sparc simulator with enabling posix
option for university lab project.

Because pthread_mutex_init() is used on C++ constructor,
pthread_mutex_init() is called in _init().

That is, pthread_mutex_init() is called before starting pthread task.
Also, pthread_mutex_init() return decimal "11" in this case.

Do you know meaning about return value decimal "11" in calling
pthread_mutex_init() ?

I would like to want to know that there is a problem for calling
pthread_mutex_init() before starting pthread task.

Please advise me.

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140414/2c301ffc/attachment.html>


More information about the users mailing list