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-1710) Proton C++ will crash if told to run 0 threads
Date Mon, 04 Dec 2017 19:01:00 GMT

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

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

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

PROTON-1710: [C++ binding] Can't run container with less than 1 thread


> Proton C++ will crash if told to run 0 threads
> ----------------------------------------------
>
>                 Key: PROTON-1710
>                 URL: https://issues.apache.org/jira/browse/PROTON-1710
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.18.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: proton-c-0.19.0
>
>
> If you call container::run(0) - i.e. tell it to run 0 threads it will crash.
> I think the correct thing to do here is just ignore all values less than 1 and treat
them as if they were 1.
> Another possibility would be to treat 0 as a "default" value - and run a "good" number
of threads for the circumstances.



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

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


Mime
View raw message