PThreads under win95 linked to missing export
Ross Johnson
rpj@ise.canberra.edu.au
Tue Aug 14 19:35:00 GMT 2001
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.
Ross
>
> Regards,
>
> -Martin
>
> 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 <martin@gadgets.co.nz> 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
> http://www.gadgets.co.nz/products.shtml
> 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: rpj@ise.canberra.edu.au
| ACT 2601 | WWW:
http://public.ise.canberra.edu.au/~rpj/
| AUSTRALIA |
+-----------------------------+
More information about the Pthreads-win32
mailing list