src/thread/pthread/SDL_systhread.c
changeset 5510 55519e27e5d1
parent 5509 5b1b4d820d10
child 5513 0a72c9c29099
--- a/src/thread/pthread/SDL_systhread.c	Fri Mar 25 12:44:06 2011 -0700
+++ b/src/thread/pthread/SDL_systhread.c	Fri Mar 25 12:54:21 2011 -0700
@@ -111,6 +111,9 @@
         value = 0;
     }
     if (setpriority(PRIO_PROCESS, syscall(SYS_gettid), value) < 0) {
+        /* Note that this fails if you're trying to set high priority
+           and you don't have root permission. BUT DON'T RUN AS ROOT!
+         */
         SDL_SetError("setpriority() failed");
         return -1;
     }