[delphizip] Re: Multithreaded DLLs for testing

  • From: "Eric Engler" <englere@xxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Wed, 13 Nov 2002 10:16:00 -0500

Thanks for your work on this Russell.  I agree that there might be some
misc. problems with multithreading. It's hard to test multithreaded
applications.

Maybe someone could make us a simple demo program that uses Zipmaster is
more than one thread?

I think we should not release multithreaded DLLs in our upcoming major
release, but we can make them available as separate downloads until we have
made sure about how safe they are.

We also have to make sure that multithread-aware DLLs work OK in
non-threaded apps.

Eric

PS: I made a few very small changes to the DLL source to make it compile in
VC++. I'll collect my changes and send them to Russell so we can get them
integrated. We can use ""#ifdef" so the same source will compile on VC++ and
Borland C++ Builder.


----- Original Message -----
From: "Russell Peters" <russellpeters@xxxxxxxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Tuesday, November 12, 2002 11:41 PM
Subject: [delphizip] Re: Multithreaded DLLs for testing


>
> I compile ZipDll for MULTITHREAD but have only been able to quickly test
in
> conventional use.
> note - despite changes I made I do not think the abort function (calling
> DllExec(null)) will work correctly.
> http://www.users.bigpond.com/russellpeters/Files/ZipDll1709.zip  (73k)
> I doubt that ZipMaster will handle multiple threads safely!
>
> Russell Peters
> http://www.users.bigpond.com/russellpeters/delphizip.html
> p.s. was pleasently surprised that I could attempt this as yet - maybe I
> will be able to get something done sooner than expected
>
> ----- Original Message -----
> From: "Eric Engler" <englere@xxxxxxxxxxx>
> To: <delphizip@xxxxxxxxxxxxx>
> Sent: Wednesday, November 13, 2002 1:59 PM
> Subject: [delphizip] Multithreaded DLLs for testing
>
>
> >
> > I defined the MULTITHREAD symbol and compiled both DLLs with VC++, v6.
> >
> > I put the DLLs in this zip file. Please consider these DLLs to be for
> > testing only.
> > We should validate them more before anyone sends them out to end users.
> >
> > I'd like to have some other users test these in a more conventional
> program,
> > also.
> >
> > http://www.am004a9659.pwp.blueyonder.co.uk/delzip/ThreadDLL.zip
> >
> > REMEMBER: These DLLs are just for testing!
> >
> > Eric



Other related posts: