Hi,
I'm using Magick++ with Intel's TBB.
I saw that Magick uses threads for processing, and I would like to disable them, in order not to get conflicts with TBB.
Is there somewhere an option to disable the multithreading ?
Thank you
Disable MultiThreading
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Disable MultiThreading
see viewtopic.php?f=2&t=20756&p=83407&hilit=thread#p83407, but i don't know the equivalent outside the command line. Otherwise, recompile iM see --without-threads at http://www.imagemagick.org/script/advan ... lation.php
Re: Disable MultiThreading
Hi fmw42,
Thank you for your reply.
I tried :
#define MAGICK_THREAD_LIMIT 1
But no result. It seems to work only with the environnement variables on the command line.
I'm gonna try to recomplile with the --without-threads option. Too bad this affects all the system :/
Thank you for your reply.
I tried :
#define MAGICK_THREAD_LIMIT 1
But no result. It seems to work only with the environnement variables on the command line.
I'm gonna try to recomplile with the --without-threads option. Too bad this affects all the system :/
Re: Disable MultiThreading
It seems to work fine. Thank you