I have a program that takes 2 N -digit numbers, multiplies them by streams and outputs the result.
Number of threads created: 2 * N - 1 .
whenever I run a program for N > 151 , the program gives me a segmentation error.
Is there a limit on the maximum number of threads that a process can receive from a thread pool?
If so, could this be a good reason for rejection?
Edit:
Valgrind does not detect memory leaks for N <= 150 .
I run the program in the Linux 2.6.x kernel.
user191776
source share