On Fri, Jan 4, 2019, 9:37 AM Axel Dörfler <axeld@xxxxxxxxxxxxxxxx wrote:
Am 04/01/2019 um 05:45 schrieb waddlesplash:
189ed5d80619: freebsd_iflib: Get the thread_id from the thread*indirectly.
This is needed on 64-bit.[...]
- set_thread_priority((thread_id)td, prio);
+ uintptr_t tdi = (uintptr_t)td;
+ set_thread_priority((thread_id)tdi, prio);
What's the exact difference? The outcome should be the same, no?