Differences From Artifact [c4125134ec]:
- File
src/threading_winapi.m
— part of check-in
[ffb39d1df6]
at
2015-03-30 21:33:29
on branch trunk
— Add OF_NO_RETURN_FUNC
OF_NO_RETURN_FUNC is defined when __attribute__((__noreturn__)) is
supported for functions, whereas OF_NO_RETURN is only defined when it is
supported for both functions and methods. (user: js, size: 3861) [annotate] [blame] [check-ins using]
To Artifact [9e03d36e2c]:
- File src/threading_winapi.m — part of check-in [1ba08eebc5] at 2015-10-19 22:15:13 on branch trunk — Add platform.h & make platform defines consistent (user: js, size: 3902) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ bool of_thread_attr_init(of_thread_attr_t *attr) { attr->priority = (float)(THREAD_PRIORITY_NORMAL - THREAD_PRIORITY_LOWEST) / (THREAD_PRIORITY_HIGHEST - THREAD_PRIORITY_LOWEST); | > > > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #import "macros.h" bool of_thread_attr_init(of_thread_attr_t *attr) { attr->priority = (float)(THREAD_PRIORITY_NORMAL - THREAD_PRIORITY_LOWEST) / (THREAD_PRIORITY_HIGHEST - THREAD_PRIORITY_LOWEST); |
︙ | ︙ |