Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4358 | Serge | 1 | |
2 | |||
3 | |||
4 | Thread safety was introduced in Mesa 2.6 by John Stone and |
||
5 | |||
6 | |||
7 | It was redesigned in Mesa 3.3 so that thread safety is |
||
8 | |||
9 | that is). There is no measurable penalty on single |
||
10 | threaded applications. |
||
11 | |||
12 | NOTE that the only _driver_ which is thread safe at this time |
||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | 2) Solaris / Unix International threads. |
||
19 | 3) Win32 threads (Win 95/NT). |
||
20 | |||
21 | Support for other thread libraries can be added src/glthread.[ch] |
||
22 | |||
23 | |||
24 | |||
25 | |||
26 | So, if your application uses Sun's thread API, then you should build Mesa |
||
27 | using one of the targets for Sun threads. |
||
28 | |||
29 | The mtdemos directory contains some example programs which use |
||
30 | |||
31 | |||
32 | Linux users should be aware that there exist many different POSIX |
||
33 | |||
34 | (http://pauillac.inria.fr/~xleroy/linuxthreads/) as this package is the |
||
35 | only one that really supports multiprocessor machines (AFAIK). See |
||
36 | http://pauillac.inria.fr/~xleroy/linuxthreads/README for further |
||
37 | information about the usage of linuxthreads. |
||
38 | |||
39 | If you are interested in helping with thread safety work in Mesa |
||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | Christoph Poliwoda -- poliwoda@volumegraphics.com |
||
46 | |||
47 | |||
48 | |||
49 | |||
50 | Mesa 3.3 - thread support mostly rewritten (Brian Paul) |
||
51 |