Jonas Maebe wrote:

> 
> He cannot. If freeonterminate=true, then even if you call "inherited
> create(false)" as the very last statement of your constructor, the thread
> may already have finished running and freed itself before
> AfterConstruction is called. The AfterConstruction call will then crash.
> 
Will it crash if it is empty as in TObject?
"
      procedure TObject.AfterConstruction;

        begin
        end;

"
It does not in MSEgui tmsethread, up to now at least. ;-)

Martin

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to