Whitespace --;

SVN revision: 52024
This commit is contained in:
Brett Nash 2010-09-09 05:36:56 +00:00
parent 935cd5b9e5
commit c69628f5af
1 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ evas_preload_thread_run(void (*func_heavy) (void *data),
if (pthread_create(&pth->thread, NULL, (void *) _evas_preload_thread_worker, pth) == 0)
{
#ifdef __linux__
#ifdef __linux__
struct sched_param param;
/* lower priority of async loader threads so they use up "bg cpu"
@ -226,7 +226,7 @@ evas_preload_thread_run(void (*func_heavy) (void *data),
if (pthread_setschedparam(pth->thread, SCHED_RR, &param) != 0)
{
int newp;
errno = 0;
newp = getpriority(PRIO_PROCESS, 0);
if (errno == 0)
@ -236,8 +236,8 @@ evas_preload_thread_run(void (*func_heavy) (void *data),
setpriority(PRIO_PROCESS, pth->thread, newp);
}
}
#endif
#endif
LKL(_mutex);
_evas_preload_thread_count++;
LKU(_mutex);