yes, as Trevor says it is for thread-safe vcl memory management. it is essential if you are say writing a dll that may be called by multiple threads of a non-Delphi host application (or at least non-TThread).
e.g. an ISAPI dll called by IIS, and not using a framework like Web-broker (which sets this to true). Steve > -----Original Message----- > From: Trevor Jones [mailto:[EMAIL PROTECTED] > Sent: Monday, 23 February 2004 9:39 p.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Threading > > > Rohit, > it is possible to use multiple threads in an app without ever > instantiating a TThread object. > > It makes no sense to ever set it to false if it is already > true (who knows > what would happen), but there are any number of reasons to > set it to true. > > AFAIK this variable controls the behaviour of the memory manager. > > The Delphi docs don't seem to consider that any thread > would be created > using anything other than TThread. I think it is a docs issue. > > > HTH > > Trevor > > ----- Original Message ----- > From: "Rohit Gupta" <[EMAIL PROTECTED]> > To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]> > Sent: Monday, February 23, 2004 9:06 PM > Subject: [DUG] Threading > > > > System.IsMultiThread := true; > > > > I have a library that does the above. WHy would it do that ? The > > Delphi help implies that is readonly as BeginThread sets it. > > > > > > > > > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi > > > > > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.592 / Virus Database: 375 - Release Date: 18/02/2004 > > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
