diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-05-27 19:05:35 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-05-27 19:05:35 +0200 |
commit | 9ace4da57156d4fccbba1ef34b43418e2cb65d4d (patch) | |
tree | 92069d4637be91941c3a0f8fd094bf5ca60c8e41 /storage/pbxt | |
parent | 8a314700f92400ecefbfb7d6a1af4cfc117a23fd (diff) | |
parent | 7aba87b72f9d5bd808a869cfc8b2fed9dcb7da88 (diff) | |
download | mariadb-git-9ace4da57156d4fccbba1ef34b43418e2cb65d4d.tar.gz |
merge
Diffstat (limited to 'storage/pbxt')
-rwxr-xr-x | storage/pbxt/src/pthread_xt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/pbxt/src/pthread_xt.cc b/storage/pbxt/src/pthread_xt.cc index e7f0632e9ae..c5dc2e41fdd 100755 --- a/storage/pbxt/src/pthread_xt.cc +++ b/storage/pbxt/src/pthread_xt.cc @@ -558,8 +558,10 @@ xtPublic int xt_p_set_low_priority(pthread_t thr) */ /* -20 = highest, 20 = lowest */ +#ifdef SET_GLOBAL_PRIORITY if (setpriority(PRIO_PROCESS, getpid(), 20) == -1) return errno; +#endif return 0; } return pth_set_priority(thr, pth_min_priority); |