X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.129.103.134 with SMTP id b128mr1027397ywc.14.1488916714381; Tue, 07 Mar 2017 11:58:34 -0800 (PST) X-Received: by 10.157.7.4 with SMTP id 4mr388894ote.13.1488916714317; Tue, 07 Mar 2017 11:58:34 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Tue, 7 Mar 2017 11:58:33 -0800 (PST) In-Reply-To: <1df49912-f31f-4881-8404-524756be5162@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.3.45.109; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 NNTP-Posting-Host: 134.3.45.109 References: <201703061736 DOT v26HaJCY005179 AT delorie DOT com> <1df49912-f31f-4881-8404-524756be5162 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: ANNOUNCE: DJGPP port of FSU Pthreads 3.14 uploaded. From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" Injection-Date: Tue, 07 Mar 2017 19:58:34 +0000 Content-Type: text/plain; charset=UTF-8 Bytes: 3484 Lines: 56 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v29IU2DE004755 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Am Montag, 6. März 2017 23:52:32 UTC+1 schrieb rug DOT DOT DOT AT gmail DOT com: > Hi, > > On Monday, March 6, 2017 at 11:36:28 AM UTC-6, Juan Manuel Guerrero (juan DOT guerrero AT spam DOT sux) [via djgpp-announce AT spam DOT sux] wrote: > > > > This is a port of FSU Pthreads 3.14 to MSDOS/DJGPP. > > > > - The code offers no testsuite thus it has only be tested by using it > > building other ports that depend on a threading library. > > I don't know anything about threads, so I'm not much help. But .... > > A few years ago, one guy (Khusraw) fixed it to build with DJGPP again. > > https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/7zip/9.20.1/FSUPthreads314DJ.zip (sources only) > > That was primarily used with his (then-current) build of p7zip > (using DJGPP/G++). > > I have not tried rebuilding p7zip lately (although another guy recently > built 16.02, but I have no idea of the details). > > http://mik.dyndns.pro/dos-stuff/ > > IIRC, there was also some other threading test suite, which apparently was > used by Minix 2.x (with FSU Pthreads) back in the day: > > http://minix1.woodhull.com/pub/contrib/champoll.txt > > http://web.archive.org/web/20030317052940/http://atc.unex.es/jdiaz/anatome/contrib/champollion/champollion.html Thanks for the pointers. I have tried some of the test programs from champoll.tar.Z and they seem to compile and to run flawlessly. I have also tried to compile p7zip_9.20.1_src_all.tar.bz2 but I do not have yasm installed thus the build failed. May be you want to give the port a try. The only reason why I ported it was that I was trying to port pkg-config-0.29.1.tar.gz and the include glib requires among a lot of other libraries also a thread library and in the end it was easier to port one than to try to rewrite a single threaded code version of glib. I was aware that there was already a port of GNU pthreads but it had some issues IIRC. Because the FSU pthread library was the second pthread library available that used to have some DJGPP support I decided to port it to DJGPP 2.05. May be it is of some use for someone else. Regards, Juan M. Guerrero