Skip Menu |

This queue is for tickets about the threads CPAN distribution.

Report information
The Basics
Id: 132853
Status: rejected
Priority: 0/
Queue: threads

People
Owner: Nobody in particular
Requestors: peter-lyko [...] t-online.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: limitation of <100 active threads?
Date: Sat, 20 Jun 2020 12:51:41 +0200
To: bug-threads [...] rt.cpan.org
From: Peter Lyko <peter-lyko [...] t-online.de>
Dear perl threads Team, I have stumbled on a potential limitation in the threads module. It seems, that there cannot be more than a 100 threads created in a single program. Is this the case? If so, I know it is discouraged to create so many threads, and I will look into reusable pools/queues, but would ask that this limitation would be mentioned in the limitation section. Thank you for your work and best regards, Peter Lyko
On 2020-06-20 06:59:48, peter-lyko@t-online.de wrote: Show quoted text
> It seems, that there cannot be more than a 100 threads created in a > single program. Is this the case?
There is no such limit within Perl. It may be a limitation imposed by your OS.