From issues-return-96444-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Tue Apr 28 12:08:43 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D38D6180637 for ; Tue, 28 Apr 2020 14:08:42 +0200 (CEST) Received: (qmail 17899 invoked by uid 500); 28 Apr 2020 12:08:42 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 17890 invoked by uid 99); 28 Apr 2020 12:08:42 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2020 12:08:42 +0000 From: =?utf-8?q?GitBox?= To: issues@nifi.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bnifi-minifi-cpp=5D_hunyadi-dev_commented_on_a_chan?= =?utf-8?q?ge_in_pull_request_=23773=3A_MINIFICPP-1202_-_Extend_interface_an?= =?utf-8?q?d_add_new_tests_for_MinifiConcurrentQueue?= Message-ID: <158807572222.3807.9666075650623337268.asfpy@gitbox.apache.org> Date: Tue, 28 Apr 2020 12:08:42 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: hunyadi-dev commented on a change in pull request #773: URL: https://github.com/apache/nifi-minifi-cpp/pull/773#discussion_r416559792 ########## File path: libminifi/include/utils/MinifiConcurrentQueue.h ########## @@ -57,6 +58,12 @@ class ConcurrentQueue { return tryDequeueImpl(lck, out); } + template + bool dequeueApply(Functor&& fun) { Review comment: Renamed to `consume`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org