Skip to content
Snippets Groups Projects

Make the threadpool honour the int argument for number of elements to process

Merged Peter W. Draper requested to merge threadpool-int-max into master

We have two cases, the original issue with a single thread with more than 2^31 elements and the less likely case when more threads also exceed 2^31 elements per thread. The strategy is simple, honour the contract of the map function and only pass in 2^31 elements per call by restricting the chunks to INT_MAX.

Fixes #727 (closed)

Edited by Peter W. Draper

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading