Commit 28b2c54b authored by marko's avatar marko

branches/zip: os_process_set_priority_boost(): Unused, remove.

parent 6314305e
...@@ -69,15 +69,6 @@ os_mem_free_large( ...@@ -69,15 +69,6 @@ os_mem_free_large(
os_mem_alloc_large() */ os_mem_alloc_large() */
ulint size); /*!< in: size returned by ulint size); /*!< in: size returned by
os_mem_alloc_large() */ 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 #ifndef UNIV_NONINL
#include "os0proc.ic" #include "os0proc.ic"
......
...@@ -228,37 +228,3 @@ os_mem_free_large( ...@@ -228,37 +228,3 @@ os_mem_free_large(
} }
#endif #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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment