source: trunk/third/gcc/libobjc/THREADS.MACH @ 14548

Revision 14548, 859 bytes checked in by ghudson, 25 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14547, which included commits to RCS files with non-trunk default branches.
Line 
1This readme refers to the file thr-mach.c.
2
3Under mach, thread priorities are kinda strange-- any given thread has
4a MAXIMUM priority and a BASE priority.  The BASE priority is the
5current priority of the thread and the MAXIMUM is the maximum possible
6priority the thread can assume.  The developer can lower, but never
7raise the maximum priority.
8
9The gcc concept of thread priorities is that they run at one of three
10levels;  interactive, background, and low.
11
12Under mach, this is translated to:
13
14interactive -- set priority to maximum
15background  -- set priority to 2/3 of maximum
16low         -- set priority to 1/3 of maximum
17
18This means that it is possible for a thread with the priority of
19interactive to actually run at a lower priority than another thread
20with a background, or even low, priority if the developer has modified
21the maximum priority.
22
23
Note: See TracBrowser for help on using the repository browser.