Distributes the processing of a planar data-structure across multiple threads, by calling the given function with different sub-areas on different threads.
| area |
the area to process |
| thread_cost |
the cost of using each additional thread, relative to the cost of processing a single data element |
| split_strategy |
the strategy to use for dividing the area |
| func |
the function to call |
| user_data |
user data to pass to the function |