summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-09 15:28:55 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-09 19:50:55 -0600
commit8ae999c38b7df297beb2c79783a3e8dfa0aec122 (patch)
treefe85740f3b576fb43a67b5c44df0aaf419f60654 /cpukit/posix
parentcondwaitsupp.c: Return EPERM if waiting and mutex is not locked (diff)
downloadrtems-8ae999c38b7df297beb2c79783a3e8dfa0aec122.tar.bz2
pthread.c: Use UINT32_MAX rather than constant value
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index 55a38a435d..5988a5e772 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -138,7 +138,7 @@ void _POSIX_Threads_Sporadic_budget_callout(
* This will prevent the thread from consuming its entire "budget"
* while at low priority.
*/
- the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
+ the_thread->cpu_time_budget = UINT32_MAX;
new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
the_thread->real_priority = new_priority;