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-1046) C++ multi-threaded broker example
Date Wed, 27 Apr 2016 14:55:13 GMT

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

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

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

PROTON-1046: C++ multi-threaded controller and improved broker example

A complete portable multi-threaded API for proton that can be implemented on an
threading/IO platform.

API:
- proton::controller: A multi-threaded alternative to the proton::container.
- proton::work_queue: async functions serialized per-connection.

Examples:
- mt/epoll_controller.hpp: controller/work_queue implemented using native Linux epoll.
- mt/broker.cpp: multi-threaded broker, portable over any controller implementation.
  - illustrates multi-threading, use of work_queue, remote shutdown

TODO:
- Examples and implementations for non-Linux platforms.


> C++ multi-threaded broker example
> ---------------------------------
>
>                 Key: PROTON-1046
>                 URL: https://issues.apache.org/jira/browse/PROTON-1046
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: 0.12.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.13.0
>
>
> Multi threaded C++ broker example based on
> - C++11 standard threading facilities
> - proton::engine driver
> - linux poll, windows WSAPol 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message