C Parallel Foreach Exceed Threads Limit Stack Overflow

C Parallel Foreach Exceed Threads Limit Stack Overflow