[GEM-dev] threads with HCS gem on osX
IOhannes m zmoelnig
zmoelnig at iem.at
Tue Oct 24 14:18:17 CEST 2006
cyrille henry wrote:
> hello,
> on my computer, loading an images (with pix_image) use a separate
> threads, as i can se on the pd console.
> this is not the case on the HCS installer on osX.
> is it a osX limitiation, or a problem with Hans build?
> if so : what sould be made in order to include thread images loading?
>
it is not an os-x limitation.
however, threaded image loading is only done, when HAVE_PTHREADS is
defined at compile time.
the os-x installer uses the gem-binaries provided by jamie and/or chris,
which are built via xcode.
since xcode does not use configure, the changes are not automatically
propagated to the build (e.g. someone would have to manually add
HAVE_PTHREADS to the build-process)....
...thinking about this, i just noticed that Base/configDarwin.h.in is
not prepared for the HAVE_PTHREADS yet, so even when using
configure/make, you would not get threaded image loading on OSX.
i'll change this asap.
in the meantime, you would have to compile Gem yourself, after adding
"#define HAVE_PTHREADS" to Base/configDarwin.h.
mfg.asdr
IOhannes
More information about the GEM-dev
mailing list