You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/12 20:50:42 UTC
[jira] [Commented] (MINIFI-194) Startup issue when using sig
handler
[ https://issues.apache.org/jira/browse/MINIFI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862969#comment-15862969 ]
ASF subversion and git services commented on MINIFI-194:
--------------------------------------------------------
Commit 09d973bafb7d798a1348e3527f3484ca9fca26be in nifi-minifi-cpp's branch refs/heads/master from [~phrocker]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=09d973b ]
MINIFI-190: Creating initial commit with changes
Resolves MINIFI-194 by using a semaphore in place of the
FlowController instance. Stop is performed outside of the
signal handler to avoid synchronicity issues.
Resolves MINIFI-192 by using lock_guard based on a conditional
Resolves issues found with MINIFI-190 regarding GetFile. Added
pragma definitions for GCC < 4.9
This closes #47.
Signed-off-by: Aldrin Piri <al...@apache.org>
> Startup issue when using sig handler
> ------------------------------------
>
> Key: MINIFI-194
> URL: https://issues.apache.org/jira/browse/MINIFI-194
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Components: C++
> Reporter: marco polo
> Assignee: marco polo
> Fix For: cpp-0.2.0
>
>
> Minifi used a lock within the signal handler. This caused issues because the signal handler is asynchronous, thus causing shut down issues. Using a semaphore allowed us to bypass the problem since they can be used asynchronously.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)