qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1568) add helgrind race detection to tests, fix all issues discovered
Date Wed, 06 Sep 2017 22:09:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156099#comment-16156099

ASF subversion and git services commented on PROTON-1568:

Commit eac4e3101a8e078e812e22b33b88b9b6219d8a5d in qpid-proton's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=eac4e31 ]

PROTON-1574: Fix lock-order-inversion warnings

The lock introduced in

    17d2a6f4 PROTON-1568: c++ enable race detection for self-tests

created lock-order problems.

Using the lock as a simple memory barrier solves the original race and the
lock-order problem.

> add helgrind race detection to tests, fix all issues discovered
> ---------------------------------------------------------------
>                 Key: PROTON-1568
>                 URL: https://issues.apache.org/jira/browse/PROTON-1568
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding, proton-c
>    Affects Versions: 0.17.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: proton-c-0.18.0
> valgrind --tool helgrind does race detection for mult-threaded code.
> Enable for multi-threaded C and C++ tests, fix any issues discovered.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message