Multiprocessing Part 4
More on Multicore processing
Issue: 14.4 (July/August 2016)
Author: Markus Winter
Author Bio: Markus is a Molecular Biologist who taught himself REALbasic programming in 2003 to let the computer deal with some exceedingly tedious lab tasks. Some call it lazy, he thinks it smart. He still thinks of himself as an advanced beginner at best.
Article Description: ion>No description availa
Article Length (in bytes): 9,267
Starting Page Number: be
Article Number: 14405
Related Link(s): None
Excerpt of article text...
As we've seen the last time, the environment variable already gives us the information about how many logical processing units are available to a given user. (Remember: how many you can use might be restricted by system policies, or perhaps the admin doesn't like you and has decided that four processing units are plenty enough for your unimportant tasks.) So why should we even bother with how many processing units the computer has?
For one, you can bet that if your app says that you have "four cores available" when the user thinks they should have 72 available, that one or all of the following will happens:
- the user thinks: "This app gives wrong information. Ditch it and use a better app."
- a support call to admin ensues who will blame your software instead of taking responsibility
- a rather irate bug report to you from a frustrated customer
...End of Excerpt. Please purchase the magazine to read the full article.