Sign in Join

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

Mailing lists / lazarus / 2008-04

Mac OS X : TThread support

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Dominique Louis

Hi Tom et all,
When I try a very simple TThread test under Mac OS X ( Intel ) I get the error "RunError(232)", followed by a execution paused dialog that says "Procedure: SYSTEM_NOTHREADERROR"

All I'm doing is...
th := TMyThread.Create( true );

Where TMyThread inherits from TThread.

Is it safe to say that TThreading it NOT currently supported on Mac OS X?

Dominique.

Reply by email

Vincent Snijders
to Dominique Louis
Dominique Louis wrote 12 lines
Hi Tom et all, When I try a very simple TThread test under Mac OS X ( Intel ) I get the error "RunError(232)", followed by a execution paused dialog that says "Procedure: SYSTEM_NOTHREADERROR" All I'm doing is... th := TMyThread.Create( true ); Where TMyThread inherits from TThread. Is it safe to say that TThreading it NOT currently supported on Mac OS X?

It is safe to say that you didn't install a thread manager in your program.

Add
uses chtreads
as one of the first units of your program's usages clause.

Vincent

Reply by email

Dominique Louis
to Vincent Snijders
Vincent Snijders wrote 5 lines
It is safe to say that you didn't install a thread manager in your program. Add uses chtreads as one of the first units of your program's usages clause.

Damn, I totally missed that. Yes it works.

Dominique.

Reply by email