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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Ada vs C++ vs Java Date: 1999/02/07 Message-ID: #1/1 X-Deja-AN: 442143819 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <77ledn$eu7$1@remarQ.com> <77pnqc$cgi$1@newnews.global.net.uk> <8p64spq5lo5.fsf@Eng.Sun.COM> <77t3ld$nou$1@nnrp1.dejanews.com> <79ce4s$lfq$1@nnrp1.dejanews.com> <79chc7$ko6@drn.newsguy.com> <79dodb$rhf$1@nnrp1.dejanews.com> <79jeos$bu4@bgtnsc01.worldnet.att.net> <79k65l$s0t@drn.newsguy.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 918455445 nnrp-02:13307 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada,comp.lang.c++,comp.vxworks,comp.lang.java Date: 1999-02-07T00:00:00+00:00 List-Id: mike writes: > I does not matter. pthreads is standard, calling it from your program is > not much different from using a language build-in task. you simply > add pthreads library to you Makefile and that is it. It is no big deal. My experience of trying to read others' code using pthreads is that it is VERY VERY different from using tasks/protected types in Ada. Or even, I suspect, threads in Java. OK, if all you want is a thread that can use shared variables to communicate, it's not too bad, but as soon as you have threads trying to synchronise/communicate it gets too much. Much better to let your Ada compiler vendor take the strain.