Overview
Comment: | platform/posix/thread.m: Fix #endif in wrong place |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
aabdb25fa2c059a2087f4768a18ad654 |
User & Date: | js on 2020-05-17 19:26:03 |
Other Links: | manifest | tags |
Context
2020-05-19
| ||
22:00 | tests: Gracefully handle SCTP being unsupported check-in: e8857652bf user: js tags: trunk | |
2020-05-17
| ||
19:26 | platform/posix/thread.m: Fix #endif in wrong place check-in: aabdb25fa2 user: js tags: trunk | |
14:08 | Add support for non-Unicode Windows in all classes check-in: 494acfb3e0 user: js tags: trunk | |
Changes
Modified src/platform/posix/thread.m from [537e06aaee] to [cdd7c510a1].
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | if (pthread_attr_getschedpolicy(&pattr, &policy) == 0) { minPrio = sched_get_priority_min(policy); maxPrio = sched_get_priority_max(policy); if (minPrio == -1 || maxPrio == -1) minPrio = maxPrio = 0; } if (pthread_attr_getschedparam(&pattr, ¶m) != 0) normalPrio = param.sched_priority; else minPrio = maxPrio = 0; pthread_attr_destroy(&pattr); | > < | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | if (pthread_attr_getschedpolicy(&pattr, &policy) == 0) { minPrio = sched_get_priority_min(policy); maxPrio = sched_get_priority_max(policy); if (minPrio == -1 || maxPrio == -1) minPrio = maxPrio = 0; } #endif if (pthread_attr_getschedparam(&pattr, ¶m) != 0) normalPrio = param.sched_priority; else minPrio = maxPrio = 0; pthread_attr_destroy(&pattr); } } static void * functionWrapper(void *data) { struct thread_ctx *ctx = data; |
︙ | ︙ |