You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2023/06/26 13:34:00 UTC

[jira] [Updated] (MINIFICPP-1996) Remove recursive mutex in ProcessGroup

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

Gábor Gyimesi updated MINIFICPP-1996:
-------------------------------------
    Description: 
ProcessGroup class has a std::recursive_mutex for protecting its members which is overused in large scopes. The scope of its usage could be decreased to make increase performance and the recursive_mutex could be replaced with a simple std::mutex.

[https://github.com/apache/nifi-minifi-cpp/pull/1451#discussion_r1029325420]

  was:
ProcessGroup class has a std::recursive_mutex for protecting its members which is overused in large scopes. The scope of its usage could be decreased to make increase performance and the recursive_mutex could be replaced with a simple std::mutex.

 

https://github.com/apache/nifi-minifi-cpp/pull/1451#discussion_r1029325420


> Remove recursive mutex in ProcessGroup
> --------------------------------------
>
>                 Key: MINIFICPP-1996
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1996
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Gábor Gyimesi
>            Priority: Minor
>              Labels: MiNiFi-CPP-Hygiene
>
> ProcessGroup class has a std::recursive_mutex for protecting its members which is overused in large scopes. The scope of its usage could be decreased to make increase performance and the recursive_mutex could be replaced with a simple std::mutex.
> [https://github.com/apache/nifi-minifi-cpp/pull/1451#discussion_r1029325420]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)