From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d0d32a18bbb61bb0 X-Google-Attributes: gid103376,public X-Google-Thread: ffc1e,d0d32a18bbb61bb0 X-Google-Attributes: gidffc1e,public X-Google-ArrivalTime: 2001-04-03 20:28:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!news-peer.gip.net!news.gsl.net!gip.net!news.maxwell.syr.edu!news-peer1.tiac.net!news-feed2.tiac.net!news.total.net!ptjm Newsgroups: comp.programming.threads,comp.lang.ada Subject: Re: Linux or FreeBSD a better choice for threads/tasking? References: <3AC4EE29.424057F6@ebox.tninet.se> <52Jx6.39238$9O3.723041@news.total.net> <871yranq1w.fsf@deneb.enyo.de> Followup-To: comp.programming.threads Organization: Crampton Vinegar Works From: ptjm@interlog.com (Patrick TJ McPhee) Message-ID: Date: Wed, 04 Apr 2001 03:22:22 GMT NNTP-Posting-Host: 154.20.79.227 X-Complaints-To: abuse@ca.inter.net X-Trace: news.total.net 986354542 154.20.79.227 (Tue, 03 Apr 2001 23:22:22 EDT) NNTP-Posting-Date: Tue, 03 Apr 2001 23:22:22 EDT Xref: supernews.google.com comp.programming.threads:3483 comp.lang.ada:6428 Date: 2001-04-04T03:22:22+00:00 List-Id: In article <871yranq1w.fsf@deneb.enyo.de>, Florian Weimer wrote: % ptjm@interlog.com (Patrick TJ McPhee) writes: % % > % Solaris has OS supported sync of threads in the same task. % > % You can create a mutex which works correctly between threads in the % > % same task. Linux DOESN't support that. % > % > This is simply untrue. The only serious problem with the Linux thread % > model is that each thread is assigned its own process id, contrary to % > standards and common sense. % % IMHO, the Linux model makes signal delivery much more transparent. Fine, it is still contrary to standards and common sense for a process to have n process IDs, where n is some number > 1, and it can be a serious problem if you want to use either process IDs or signals portably. -- Patrick TJ McPhee East York Canada ptjm@interlog.com