This is the mail archive of the
mailing list for the pthreas-win32 project.
Re: PThreads under win95 linked to missing export
- To: Martin van den Nieuwelaar <martin at gadgets dot co dot nz>
- Subject: Re: PThreads under win95 linked to missing export
- From: Ross Johnson <rpj at ise dot canberra dot edu dot au>
- Date: Wed, 15 Aug 2001 12:35:18 +1000
- CC: pthreads-win32 at sources dot redhat dot com
- Organization: University of Canberra, Information Sciences and Engineering
- References: <email@example.com> <3B79B6E3.3D17A4B2@gadgets.co.nz>
Martin van den Nieuwelaar wrote:
> I guess the more general question then is, is it intended that
> pthreads works only under 98 or later? How about NT? Was there ever
> a version for 95? I haven't seen any docs that mention which windows
> platforms it works on. I just want to know before I release my app as
> "works under windows" and then find out I have hundreds of users
> sending me hate mail because it clearly doesn't work on their system.
I must have missed checking this before using
InterlockedCompareExchange in the barrier and spinlock routines
that were added at snapshot 2001-07-12. I run the testsuite
on a Win98 machine before releasing snapshots.
Snapshot 2001-07-03 should be OK to use. Apart from not having
spinlocks and barriers, there are only a few minor bug fixes
that are the difference.
I'll have to fix this for the next snapshot so that Win95 and
pre-NT4.0 is properly supported again.
Thanks for pointing out the error.
> reentrant wrote:
> > The source of the problem appears to be that InterlockedCompareExchange()
> > "Requires Windows 98 or later" (according to MSDN).
> > Dave
> > --- Martin van den Nieuwelaar <firstname.lastname@example.org> wrote:
> > > Hi People,
> > >
> > > I'm new to this list and have recently started using pthreads-win32 so
> > > I could port some UNIX software to the windows environment.
> > >
> > > One problem I have run into is a missing export error. If I take my
> > > app (compiled under win98 SE using ms vc++ 6.0) and pthreadvce.dll
> > > file and put them on a win95 machine (Version 4.00.950B), I get the
> > > following error:
> > >
> > > The PTHREADVCE.DLL file is linked to missing export
> > > KERNEL32.DLL:InterlockedCompareExchange
> > >
> > > I looked around on the web, and also in the mailing list archives, but
> > > found no reference to this error. Any thoughts on what might be the
> > > source of my problem, and how to fix it?
> > >
> > > TIA,
> > >
> > > -Martin
> Expert carrier network traffic analysis and visualisation
> xenaphobia: The fear of being beaten to a
> pulp by a leather-clad, New Zealand woman
| Ross Johnson | | "Come down off the cross
| Management & Technology |___| We can use the wood" - Tom Waits
| Building 11 |
| University of Canberra | eMail: email@example.com
| ACT 2601 | WWW:
| AUSTRALIA |