Overview
Comment: | Fix a warning with Apple GCC 4.0 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ea000d07a99291ecd175d144c7d26a71 |
User & Date: | js on 2016-05-07 21:52:58 |
Other Links: | manifest | tags |
Context
2016-05-08
| ||
09:36 | Fix super lookup of missing methods on PPC check-in: 7156752f97 user: js tags: trunk | |
2016-05-07
| ||
21:52 | Fix a warning with Apple GCC 4.0 check-in: ea000d07a9 user: js tags: trunk | |
20:53 | Fix super lookup of missing methods on ARM64 check-in: ed75c0b477 user: js tags: trunk | |
Changes
Modified src/threading_pthread.m from [717df19cb4] to [51e4e050d9].
︙ | ︙ | |||
111 112 113 114 115 116 117 | if (pthread_attr_setinheritsched(&pattr, PTHREAD_EXPLICIT_SCHED) != 0) return false; #endif if (attr->priority < 0) { param.sched_priority = minPrio + | | | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | if (pthread_attr_setinheritsched(&pattr, PTHREAD_EXPLICIT_SCHED) != 0) return false; #endif if (attr->priority < 0) { param.sched_priority = minPrio + (1.0f + attr->priority) * (normalPrio - minPrio); } else param.sched_priority = normalPrio + attr->priority * (maxPrio - normalPrio); if (pthread_attr_setschedparam(&pattr, ¶m) != 0) return false; |
︙ | ︙ |