Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-11

Threading

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul Davidson

fpc 1.9.5 [2004/11/26] Darwin 10.3

It seems the TThread has strange behavior.

If one creates a x = class( TThread ), then y = class( x ) the SUSPEND and RESUME procedures do not work correctly.

SUSPEND and RESUME work fine in x, but not in y. Attached is test code. Any one see this before?

Thanks

P Davidson
Corax Networks Inc.
http://CoraxNetworks.com

Jonas Maebe
to Paul Davidson
Paul Davidson wrote
fpc 1.9.5 [2004/11/26] Darwin 10.3

And for the record: it's the same under Linux/x86, it's not Darwin or Mac OS X specific. But I have no idea whether the behaviour is correct or not.

Jonas

Paul Davidson
to Jonas Maebe

It works under Delphi/Windows. If that has any weight?

Jonas Maebe wrote 18 lines
On 26 nov 2004, at 21:02, Paul Davidson wrote: > fpc 1.9.5 [2004/11/26] Darwin 10.3 And for the record: it's the same under Linux/x86, it's not Darwin or Mac OS X specific. But I have no idea whether the behaviour is correct or not. Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

P Davidson
Corax Networks Inc.
http://CoraxNetworks.com