Sign in Join

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

Mailing lists / fpc-devel / 2006-09

Threading under MAC OS X

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Robert Reimiller

I'm confused as to which model to use. I noted that there is a pthread.inc file in the darwin rtl directory, but I'm not sure how to include that in the source or the linking.

There is also a chapter in the programmers manual that has discussions of things like BeginThread and xxxxcriticalsection functions. The critical section
stuff compiles OK but that doesn't mean it will actually run. However, I've tried
BeginThread with both 2 and 3 parameters and the compiler tells me the number
of parameters is incorrect. I've done some grepping on the RTL source code but
can't make any sense of it.

Anyone have experience with this?

Reply by email