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

ASF subversion and git services commented on PROTON-1771:
---------------------------------------------------------

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

PROTON-1771: [c] threaderciser thread race test for C proactor

Take random actions in multiple threads, try to provoke race conditions under
helgrind or other race checker.

Actions can be enabled or disabled on command line to simplify the test.

threaderciser.supp has supressions for race conditions detected on Linux with
the epoll proactor.


> [c-proactor] multi-thread race test for proactor
> ------------------------------------------------
>
>                 Key: PROTON-1771
>                 URL: https://issues.apache.org/jira/browse/PROTON-1771
>             Project: Qpid Proton
>          Issue Type: Test
>          Components: proton-c
>    Affects Versions: proton-c-0.20.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             Fix For: proton-c-0.23.0
>
>
> Crate a new test exe that runs for a (configurable, default short) period of
> time, with a single proactor acted on by multiple proactor and user threads. 
> Run
> with helgrind or tsan to detect races.
> Exercise potentially racy APIs concurrently:
> - making, accepting and closing (from both ends) a connection.
> - pn_connection_wake
> - pn_proactor_release_connection
> - re-use of released pn_connection_t on a new connection
> - timeout
> - concurrent with some normal use: sending/receiving messages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to