i have program which is using PTHREAD_PRIO_INHERIT mutexes.

    pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT);
    pthread_mutex_init(&m_Mutex, &attr);

when i run this program under helgrind i went to deathlock. In log was
message like this

==1500== Thread #1's call to pthread_mutex_init failed
==1500==    with error code 95 (EOPNOTSUPP: Operation not supported on
transport endpoint)
==1500==    at 0x402628C: pthread_mutex_init (hg_intercepts.c:349)

if i run my application without valgrind, pthread_mutex_init returned
success.
Is there some posibility to run this kind of application under valgrind.
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to