History log of /haiku/src/system/libroot/posix/scheduler.cpp
Revision Date Author Comments
# 298314fe 09-Oct-2013 Pawel Dziepak <pdziepak@quarnos.org>

libroot: Update sched_get_priority_{max, min}()

SCHED_RR is a real-time scheduling policy.
SCHED_FIFO and SCHED_SPORADIC are not supported (at least for now).


# ae901935 24-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Introduce __set_errno() throughout libroot.

* add errno_private.h, which defines the __set_errno() macro with
and without tracing
* instead of setting errno manually, all libroot's code now invokes
__set_errno(), which makes it much easier to trace changes to errno
* redirect glibc's use of __set_errno() to our own version


# 954da749 27-Oct-2009 Axel Dörfler <axeld@pinc-software.de>

* Added SCHED_SPORADIC, and sorted the constants the way it's done in the specs.
* Also changed their numbering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33788 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d88b4037 26-Oct-2009 Axel Dörfler <axeld@pinc-software.de>

* Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome.
* Fixed indentation/coding style violations introduced with r33783. Please take
more care when accepting patches!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f386c591 26-Oct-2009 Jérôme Duval <korli@users.berlios.de>

Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8169e6b4 05-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Patch by Andreas that adds sched.h, and sched_yield() to Haiku.
* This closes ticket #2568.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26820 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 298314fe4b1f592c5b2caf3f06a1e8a452329396 09-Oct-2013 Pawel Dziepak <pdziepak@quarnos.org>

libroot: Update sched_get_priority_{max, min}()

SCHED_RR is a real-time scheduling policy.
SCHED_FIFO and SCHED_SPORADIC are not supported (at least for now).


# ae9019359606f1db67632ef51a77ce70001d3770 24-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Introduce __set_errno() throughout libroot.

* add errno_private.h, which defines the __set_errno() macro with
and without tracing
* instead of setting errno manually, all libroot's code now invokes
__set_errno(), which makes it much easier to trace changes to errno
* redirect glibc's use of __set_errno() to our own version


# 954da749a5da4668b8f2a70b7927dd5e1d5b4970 27-Oct-2009 Axel Dörfler <axeld@pinc-software.de>

* Added SCHED_SPORADIC, and sorted the constants the way it's done in the specs.
* Also changed their numbering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33788 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d88b4037b040ed795b06e505383e661f1bb0a3a0 26-Oct-2009 Axel Dörfler <axeld@pinc-software.de>

* Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome.
* Fixed indentation/coding style violations introduced with r33783. Please take
more care when accepting patches!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f386c5910b0920cfa24950dfe81eee67e7d7ba67 26-Oct-2009 Jérôme Duval <korli@users.berlios.de>

Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8169e6b4e6fac876e565f41b860b33981d78fd8f 05-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Patch by Andreas that adds sched.h, and sched_yield() to Haiku.
* This closes ticket #2568.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26820 a95241bf-73f2-0310-859d-f6bbb57e9c96