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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b98b07cf3938e3d9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-21 13:54:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!dvdeug From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Newsgroups: comp.lang.ada Subject: Re: GNAT threads Date: 21 Feb 2001 02:19:28 GMT Organization: Oklahoma State University Message-ID: <96v8jg$9aa2@news.cis.okstate.edu> References: <3A92480A.4192347D@bsdger.org> <3A925B94.9C2A067B@Physik.Uni-Magdeburg.de> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e529f.dhcp.okstate.edu User-Agent: slrn/0.9.6.3 (Linux) Xref: supernews.google.com comp.lang.ada:5410 Date: 2001-02-21T02:19:28+00:00 List-Id: On Tue, 20 Feb 2001 12:57:08 +0100, Gerald Kasner wrote: >Matthias Kretschmer schrieb: >> >> Hallo >> >> hopefully this is no stupid question, but I was experimenting with GNAT >> 3.13p (running on FreeBSD 4.2) using some tasks and it seems the GNAT >> doesn't use native threads for the tasks but simulates multitasking for >> itself. The bad thing about it, it isn't real preemptive multitasking >> and the whole program is running on only one cpu. >> Is there a way to make GNAT using the native thread implementation? >> >> greeting Matthias Kretschmer > >In the public distribution you have the choice between FSU and native >threads. Look for README.TASKING > >It may depend on your port, whether one of those or both are >implemented. > >######################################################################## >This README contains information relevant to tasking on the following >systems: >Sparc Solaris, x86 Linux, HP-UX, PowerPC AIX and SGI IRIX. ^^^ This probably means that it won't work on FreeBSD, unless FreeBSD threads are API-compatible to one of the above, in which case you'd probably have to tell the GNAT build system that and rebuild. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I don't care if Bill personally has my name and reads my email and laughs at me. In fact, I'd be rather honored." - Joseph_Greg