Today I learned: Python’s concurrency-safe queue structures have a hard limit of 32,768 items. I totally did not deadlock a piece of code by not paying attention to that, why do you ask?
-
-
interesting, do you have more specific pointers? i can imagine there being a maximum number of concurrent "waiters" on the queue, but not how it relates to the number of items contained within.
-
Here is where Python hands off: https://github.com/python/cpython/blob/master/Modules/_multiprocessing/multiprocessing.h … SEM_VALUE_MAX is system-dependent. Which header it lives in seems to also be system-dependent.
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.