Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
417440fb
Commit
417440fb
authored
May 18, 2006
by
anozdrin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error on FC4.
parent
c1113af1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
server-tools/instance-manager/manager.cc
server-tools/instance-manager/manager.cc
+15
-15
No files found.
server-tools/instance-manager/manager.cc
View file @
417440fb
...
@@ -133,6 +133,7 @@ void manager()
...
@@ -133,6 +133,7 @@ void manager()
{
{
int
err_code
;
int
err_code
;
const
char
*
err_msg
;
const
char
*
err_msg
;
bool
shutdown_complete
=
FALSE
;
Thread_registry
thread_registry
;
Thread_registry
thread_registry
;
/*
/*
...
@@ -243,11 +244,8 @@ void manager()
...
@@ -243,11 +244,8 @@ void manager()
To work nicely with LinuxThreads, the signal thread is the first thread
To work nicely with LinuxThreads, the signal thread is the first thread
in the process.
in the process.
*/
*/
int
signo
;
bool
shutdown_complete
;
shutdown_complete
=
FALSE
;
{
instance_map
.
guardian
->
lock
();
instance_map
.
guardian
->
lock
();
instance_map
.
lock
();
instance_map
.
lock
();
...
@@ -263,6 +261,7 @@ void manager()
...
@@ -263,6 +261,7 @@ void manager()
"binary. Aborting."
);
"binary. Aborting."
);
return
;
return
;
}
}
}
/*
/*
After the list of guarded instances have been initialized,
After the list of guarded instances have been initialized,
...
@@ -272,6 +271,7 @@ void manager()
...
@@ -272,6 +271,7 @@ void manager()
while
(
!
shutdown_complete
)
while
(
!
shutdown_complete
)
{
{
int
signo
;
int
status
=
0
;
int
status
=
0
;
if
((
status
=
my_sigwait
(
&
mask
,
&
signo
))
!=
0
)
if
((
status
=
my_sigwait
(
&
mask
,
&
signo
))
!=
0
)
...
...
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