Subj : Re: pthread library architecture (threading model) To : comp.programming.threads From : ptjm Date : Sun Sep 18 2005 04:33 pm In article <1127036569.775683.197110@g14g2000cwa.googlegroups.com>, pankaj-startup wrote: % As per my knowledge, posix thread library (pthread) implements M:N % model. i.e. multiple user threads (M) multiplexes on a N LWPs. % When process runs out of LWPs, kernel notifies pthread library to % create a new LWP. % This is identical to default solaris thread implementation. On Solaris, the pthread and UI thread interfaces have the same underlying implementation. You can use pthread calls in threads created with the UI interface, and vice-versa. The thread architecture changed in Solaris 8 and 9. Current releases use a 1:1 threading model. The pthread API doesn't imply any particular threading model. Implementations on other platforms provide 1:1, m:n, and m:1 models. -- Patrick TJ McPhee North York Canada ptjm@interlog.com .