Differences From Artifact [eefc937c4b]:
- File src/threading_winapi.m — part of check-in [e0b9167693] at 2016-02-21 15:37:42 on branch trunk — Make use of C99-style for loops (user: js, size: 3901) [annotate] [blame] [check-ins using]
To Artifact [89698eef26]:
- File
src/threading_winapi.m
— part of check-in
[b4023e6bc0]
at
2016-03-28 16:50:16
on branch trunk
— Change the definition of thread priorities
The old definition was quite unpredictable and too platform-specific.
The new one defines -1.0 as lowest priority that still schedules, 0.0 as
the normal priority (meaning the same as the main thread) and +1.0 as
the highest priority that still allows getting preempted. (user: js, size: 3956) [annotate] [blame] [check-ins using]
| ︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | - + - - - + + - - + + + + + + + + |
#include "config.h"
#import "macros.h"
bool
of_thread_attr_init(of_thread_attr_t *attr)
{
|
| ︙ |