Vous devez être
connecté pour voir les liens.
[fixed]max@neptune:~ $ python
Python 2.3.4 (#2, Aug 13 2004, 00:36:58)
[GCC 3.3.4 (Debian 1:3.3.4-5ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from threading import BoundedSemaphore
>>> maxconnections = 5
>>> pool_sema = BoundedSemaphore(value=maxconnections)
[/fixed]