]> gcc.gnu.org Git - gcc.git/blame - libobjc/THREADS.MACH
re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64)
[gcc.git] / libobjc / THREADS.MACH
CommitLineData
005dda25
BE
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
This page took 0.237815 seconds and 5 git commands to generate.