diff options
Diffstat (limited to 'storage/xtradb/include/os0thread.h')
-rw-r--r-- | storage/xtradb/include/os0thread.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/xtradb/include/os0thread.h b/storage/xtradb/include/os0thread.h index d84eff99519..dcf809eec0d 100644 --- a/storage/xtradb/include/os0thread.h +++ b/storage/xtradb/include/os0thread.h @@ -182,6 +182,17 @@ os_thread_set_priority( ulint relative_priority); /*!< in: system-specific priority value */ +/*****************************************************************//** +Get priority for a given thread on Linux. Currently a +no-op on other systems. + +@return An actual thread priority */ +UNIV_INTERN +ulint +os_thread_get_priority( +/*===================*/ + os_tid_t thread_id); /*!< in: thread id */ + #ifndef UNIV_NONINL #include "os0thread.ic" #endif |