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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3b774da4
Commit
3b774da4
authored
Sep 25, 2001
by
Miguel@light.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes on NT service for a more faster stop of the service on Win2k
and free the main thread of the service.
parent
df1045ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
23 deletions
+4
-23
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-21
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/nt_servc.cc
sql/nt_servc.cc
+2
-1
No files found.
BitKeeper/etc/logging_ok
View file @
3b774da4
davida@isil.mysql.com
heikki@donna.mysql.fi
jani@hynda.mysql.fi
jani@janikt.pp.saunalahti.fi
jcole@tetra.spaceapes.com
miguel@light.local
monty@bitch.mysql.fi
monty@hundin.mysql.fi
monty@tik.mysql.fi
monty@work.mysql.com
mwagner@evoq.mwagner.org
paul@central.snake.net
paul@teton.kitebird.com
sasha@mysql.sashanet.com
serg@serg.mysql.com
tim@bitch.mysql.fi
tim@threads.polyesthetic.msg
tim@white.box
tim@work.mysql.com
tonu@x153.internalnet
tfr@sarvik.tfr.cafe.ee
Miguel@light.local
sql/mysqld.cc
View file @
3b774da4
...
...
@@ -2006,7 +2006,7 @@ The server will not act as a slave.");
{
if
(
start_mode
)
{
if
(
WaitForSingleObject
(
hEventShutdown
,
INFINITE
)
==
WAIT_OBJECT_0
)
if
(
WaitForSingleObject
(
hEventShutdown
,
1000
)
==
WAIT_TIMEOUT
)
Service
.
Stop
();
}
else
...
...
sql/nt_servc.cc
View file @
3b774da4
...
...
@@ -246,7 +246,8 @@ void NTService::ServiceMain(DWORD argc, LPTSTR *argv)
WaitForSingleObject
(
pService
->
hExitEvent
,
INFINITE
);
// wait for thread to exit
WaitForSingleObject
(
pService
->
hThreadHandle
,
30000
);
if
(
WaitForSingleObject
(
pService
->
hThreadHandle
,
1000
)
==
WAIT_TIMEOUT
)
CloseHandle
(
pService
->
hThreadHandle
);
pService
->
Exit
(
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