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
28b2c54b
Commit
28b2c54b
authored
Jun 30, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: os_process_set_priority_boost(): Unused, remove.
parent
6314305e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
+0
-43
include/os0proc.h
include/os0proc.h
+0
-9
os/os0proc.c
os/os0proc.c
+0
-34
No files found.
include/os0proc.h
View file @
28b2c54b
...
...
@@ -69,15 +69,6 @@ os_mem_free_large(
os_mem_alloc_large() */
ulint
size
);
/*!< in: size returned by
os_mem_alloc_large() */
/****************************************************************//**
Sets the priority boost for threads released from waiting within the current
process. */
UNIV_INTERN
void
os_process_set_priority_boost
(
/*==========================*/
ibool
do_boost
);
/*!< in: TRUE if priority boost should be done,
FALSE if not */
#ifndef UNIV_NONINL
#include "os0proc.ic"
...
...
os/os0proc.c
View file @
28b2c54b
...
...
@@ -228,37 +228,3 @@ os_mem_free_large(
}
#endif
}
/****************************************************************//**
Sets the priority boost for threads released from waiting within the current
process. */
UNIV_INTERN
void
os_process_set_priority_boost
(
/*==========================*/
ibool
do_boost
)
/*!< in: TRUE if priority boost should be done,
FALSE if not */
{
#ifdef __WIN__
ibool
no_boost
;
if
(
do_boost
)
{
no_boost
=
FALSE
;
}
else
{
no_boost
=
TRUE
;
}
#if TRUE != 1
# error "TRUE != 1"
#endif
/* Does not do anything currently!
SetProcessPriorityBoost(GetCurrentProcess(), no_boost);
*/
fputs
(
"Warning: process priority boost setting"
" currently not functional!
\n
"
,
stderr
);
#else
UT_NOT_USED
(
do_boost
);
#endif
}
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