Re: [Camelbones-devel] threading
Brought to you by:
shermpendley
From: Sherm P. <sh...@do...> - 2004-03-21 01:54:28
|
On Mar 20, 2004, at 6:22 PM, Tom Insam wrote: > So I want threads. > > I've been getting very weird and non-predictable behaviour when trying > it, though. Is this likely to be my fault, or is this just not gonna > happen? I've been afraid to try it. ;-) Threads in Perl are a moving target. Even aside from the fact that the Apple-supplied Perl for 10.1 & 10.2 didn't have threading enabled because of issues with Apple's libc, the API has completely changed from 5.005 to 5.6, and again from 5.6 to 5.8. Whenever it comes up on a Perl group or list, the response has invariably been "don't do it, threads ain't soup yet." Still, Cocoa's threads are nothing but a very thin wrapper over pthreads, and you can use both NSThread and low-level pthreads functions in an app. So if Perl is using pthreads, I'd tend to think it should be possible. Probably not very easy - nothing about threading ever is - but possible. It's definitely not something I want to tackle for 0.2.x though - and probably not for the initial 0.3.0 release either. sherm-- |