diff options
author | Richard Braun <rbraun@sceen.net> | 2013-03-02 21:23:24 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-03-02 21:23:24 +0100 |
commit | 890d1bb61a027c6742a1565d023572d144b76988 (patch) | |
tree | f3af693b72c55aa1666702f4a54583472b38c817 /kern/thread.h | |
parent | c840709379e499fd7e87904111fe8659ae0c74b6 (diff) |
kern/thread: never fail when adding a thread to a run queue
Handling this kind of error makes threading hazardous. It's just way better
to simply consider a thread can always be added to a run queue. The reason
it could fail is that the time-sharing scheduling algorithm doesn't support
a global weight greater than 2^32. A direct implication is that, because of
this limitation, the maximum number of threads should be limited too.
Diffstat (limited to 'kern/thread.h')
0 files changed, 0 insertions, 0 deletions