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

This commit is contained in:
marko 2009-06-30 11:14:01 +00:00
parent 6314305e2b
commit 28b2c54bb2
2 changed files with 0 additions and 43 deletions

View file

@ -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"

View file

@ -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
}