ObjFW  Diff

Differences From Artifact [383f3c4912]:

  • File src/OFThread.h — 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: 6380) [annotate] [blame] [check-ins using]

To Artifact [4c510e12e2]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
 *   Jonathan Schleifer <js@heap.zone>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
 *   Jonathan Schleifer <js@heap.zone>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.