Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ca7db4fc
You need to sign in or sign up before continuing.
Commit
ca7db4fc
authored
Jul 12, 2017
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxcomp/src/Loop.cpp: Rename local variable 'handler' to 'signalHandler'.
parent
1e15760a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Children.cpp
nxcomp/src/Children.cpp
+2
-2
Loop.cpp
nxcomp/src/Loop.cpp
+3
-3
No files found.
nxcomp/src/Children.cpp
View file @
ca7db4fc
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
extern
Keeper
*
keeper
;
extern
Keeper
*
keeper
;
extern
int
(
*
h
andler
)(
int
);
extern
int
(
*
signalH
andler
)(
int
);
extern
int
useUnixSocket
;
extern
int
useUnixSocket
;
...
@@ -792,7 +792,7 @@ int NXTransKeeper(int caches, int images, const char *root)
...
@@ -792,7 +792,7 @@ int NXTransKeeper(int caches, int images, const char *root)
keeper
=
new
Keeper
(
caches
,
images
,
root
,
100
,
parent
);
keeper
=
new
Keeper
(
caches
,
images
,
root
,
100
,
parent
);
h
andler
=
NXTransKeeperHandler
;
signalH
andler
=
NXTransKeeperHandler
;
if
(
keeper
==
NULL
)
if
(
keeper
==
NULL
)
{
{
...
...
nxcomp/src/Loop.cpp
View file @
ca7db4fc
...
@@ -331,7 +331,7 @@ Keeper *keeper = NULL;
...
@@ -331,7 +331,7 @@ Keeper *keeper = NULL;
// to be notified about signals.
// to be notified about signals.
//
//
int
(
*
h
andler
)(
int
)
=
NULL
;
int
(
*
signalH
andler
)(
int
)
=
NULL
;
//
//
// Signal handling functions (that are not already mentioned in Misc.h).
// Signal handling functions (that are not already mentioned in Misc.h).
...
@@ -5999,7 +5999,7 @@ void HandleSignal(int signal)
...
@@ -5999,7 +5999,7 @@ void HandleSignal(int signal)
#endif
#endif
if
(
getpid
()
!=
lastProxy
&&
h
andler
!=
NULL
)
if
(
getpid
()
!=
lastProxy
&&
signalH
andler
!=
NULL
)
{
{
#if defined(UNSAFE) && (defined(TEST) || defined(INFO))
#if defined(UNSAFE) && (defined(TEST) || defined(INFO))
*
logofs
<<
"Loop: Calling slave handler in process "
*
logofs
<<
"Loop: Calling slave handler in process "
...
@@ -6007,7 +6007,7 @@ void HandleSignal(int signal)
...
@@ -6007,7 +6007,7 @@ void HandleSignal(int signal)
<<
logofs_flush
;
<<
logofs_flush
;
#endif
#endif
if
((
*
h
andler
)(
signal
)
==
0
)
if
((
*
signalH
andler
)(
signal
)
==
0
)
{
{
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment