ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/07/11/16:45:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with pthread
Date: Mon, 11 Jul 2011 13:24:59 -0700 (PDT)
Organization: http://groups.google.com
Lines: 23
Message-ID: <9782dfcd-88aa-4819-ac97-69d03746f6d3@u26g2000vby.googlegroups.com>
References: <04479084-9c35-4cff-ad2e-f7ada3284871 AT hi9g2000vbb DOT googlegroups DOT com>
<fc2236b2-c5d3-41bc-9df9-e0184d63b6b9 AT c41g2000yqm DOT googlegroups DOT com>
<8e0d2b15-2978-4e19-adca-13d6fe7fadb4 AT q1g2000vbj DOT googlegroups DOT com> <945dcdd6-8d40-407c-8d43-b2a9ef1119e7 AT y30g2000yqb DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1310416008 26789 127.0.0.1 (11 Jul 2011 20:26:48 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 11 Jul 2011 20:26:48 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: u26g2000vby.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: UHALERCNK
X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.50,gzip(gfe)
Bytes: 2372
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p6BKj1Vh001416
Reply-To: djgpp AT delorie DOT com

Hi,

On Jul 10, 9:03 am, Georg <dos DOT  DOT  DOT  AT googlemail DOT com> wrote:
>
> I had tried that library too, but frankly the library I try to port to
> DOS does not seem to work with both versions. I have to make some
> further tests to try to locate the reason for that.
>
> The library in p7z913.zip compiles as libgthreads.a and it seemed not
> work if just renamed to libpthread.a. The configure files usually just
> test for pthread, so the name gthread means that I have to change the
> configure file.

Well, I don't know if you have to hardcode the change or not (and ./
configure is typically a mess, anyways).

If it helps, the old Minix 2 port of FSU Pthreads includes some
examples (with permission) from _Pthreads Programming_ (Nichols, et
al.) by O'Reilly. So you could try those. But no guarantees, I've
never bothered personally.  ;-)

http://minix1.woodhull.com/pub/contrib/champoll.txt
http://minix1.woodhull.com/pub/contrib/champoll.tar.Z

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019