Hello!
What's the penalty for `--disable-threads'? After upgrading the FreeBSD port of ImageMagick, I received a bug-report from a user, who was unable to use PerlMagick, because their perl was built without threads.
I'm thinking about simply adding `--disable-threads' to CONFIGURE_ARGS -- this seems to work with both threaded and non-threaded perl.
What is the penalty?
Could `configure', when it analyzes the available perl installation, also determine, whether threads are supported?..
Thanks!
What is the penalty?
-
- Posts: 1
- Joined: 2019-03-01T19:07:50-07:00
- Authentication code: 1152
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: What is the penalty?
I am not an expert on all aspects, but if you disable threading, then the only penalty I know is some loss of speed. Some operations are threaded to utilize multiple processors to speed up operations. But the gains decrease as you use more processors. So you gain the most from the second processor with diminishing gains as you add more processors.