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

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

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

PROTON-1557: c++ improve multi-threaded clients

2 clients:
- multithreaded_client.cpp: simple send thread, receive thread, run thread
- multithreaded_client_flow_control: multi-connection, block for flow control

Changes:
- reduced needless diff between examples
- use separate work_queue* to clarify separate thread safety rules from sender
- took work_queue->add() out of lock to emphasize it is thread safe
- use fixed argument list, same arg order


> c++ example of multi-threaded sending/receivng client
> -----------------------------------------------------
>
>                 Key: PROTON-1557
>                 URL: https://issues.apache.org/jira/browse/PROTON-1557
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: 0.17.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: proton-c-0.18.0
>
>
> A C++ example of a client that sends and receives in multiple threads.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to