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
edc8656d
Commit
edc8656d
authored
Feb 06, 2009
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
faaa5feb
e1510d5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mysql-test/lib/My/SafeProcess/safe_process_win.cc
mysql-test/lib/My/SafeProcess/safe_process_win.cc
+8
-1
No files found.
mysql-test/lib/My/SafeProcess/safe_process_win.cc
View file @
edc8656d
...
@@ -237,12 +237,19 @@ int main(int argc, const char** argv )
...
@@ -237,12 +237,19 @@ int main(int argc, const char** argv )
/*
/*
Create the process suspended to make sure it's assigned to the
Create the process suspended to make sure it's assigned to the
Job before it creates any process of it's own
Job before it creates any process of it's own
Allow the new process to break away from any job that this
process is part of so that it can be assigned to the new JobObject
we just created. This is safe since the new JobObject is created with
the JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE flag, making sure it will be
terminated when the last handle to it is closed(which is owned by
this process).
*/
*/
if
(
CreateProcess
(
NULL
,
(
LPSTR
)
child_args
,
if
(
CreateProcess
(
NULL
,
(
LPSTR
)
child_args
,
NULL
,
NULL
,
NULL
,
NULL
,
TRUE
,
/* inherit handles */
TRUE
,
/* inherit handles */
CREATE_SUSPENDED
,
CREATE_SUSPENDED
|
CREATE_BREAKAWAY_FROM_JOB
,
NULL
,
NULL
,
NULL
,
NULL
,
&
si
,
&
si
,
...
...
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