python shmodule.c
Dernière réponse : dans Programmation
J'ai un TP a faire pour l'iut mais j'ai un petit soucis.
Le TP porte sur les semaphores mais j'ai besoin d'importer shmodule.c (qui est installer a l iut mais pas chez moi).Comment puis-je faire avec ce fichier?
Le TP porte sur les semaphores mais j'ai besoin d'importer shmodule.c (qui est installer a l iut mais pas chez moi).Comment puis-je faire avec ce fichier?
Autres pages sur : python shmodule
Lassé par la pub ? Créez un compte
http://www.python.org/doc/2.3.4/lib/module-threading.ht...
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)
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)
Lassé par la pub ? Créez un compte