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-1481) Improve the capability to inject work into serialised contexts
Date Wed, 11 Oct 2017 04:13:00 GMT

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

ASF subversion and git services commented on PROTON-1481:

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

PROTON-1481: [C++ binding] Solidify the proton::work_queue API
- Allow for complete deprecation of strange C++03 proton::void_function0 class
  This can be used in the current code, but it can be removed without losing
  C++03 functionality.
- In C++03 you have to create injected work with one of the proton::make_work()
  overloads. This functions like the C++11 std::bind and can create a function-like
  object from a function point and arguments or from a member function point, object pointer
  and arguments.
- In C++11 you can use proton::make_work, std::function<void()>, a lambda expression,
or any
  function-like object to create injected work.
WIP: solidify work & work_queue API

WIP: remove schedule_work API leaving only make_work

WIP: Improve work documentation a little

> Improve the capability to inject work into serialised contexts
> --------------------------------------------------------------
>                 Key: PROTON-1481
>                 URL: https://issues.apache.org/jira/browse/PROTON-1481
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: proton-c-0.18.0

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