You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2020/04/19 16:56:00 UTC

[jira] [Resolved] (MINIFICPP-1185) Remove moodycamel::concurrentqueue from threadpool

     [ https://issues.apache.org/jira/browse/MINIFICPP-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Szasz resolved MINIFICPP-1185.
-------------------------------------

> Remove moodycamel::concurrentqueue from threadpool
> --------------------------------------------------
>
>                 Key: MINIFICPP-1185
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1185
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Arpad Boda
>            Assignee: Arpad Boda
>            Priority: Major
>             Fix For: 0.8.0
>
>          Time Spent: 10h 40m
>  Remaining Estimate: 0h
>
> MoodyCamel::ConcurrentQueue uses thread locals and prefers them when enqueueing and dequeueing from the same thread. In this edgecase the queue doesn't behave like a queue, but like a stack, causing starvation in threadpool under special circumstances. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)