Paquet : libobject-forkaware-perl (0.005-2)
Liens pour libobject-forkaware-perl
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source libobject-forkaware-perl :
- [libobject-forkaware-perl_0.005-2.dsc]
- [libobject-forkaware-perl_0.005.orig.tar.gz]
- [libobject-forkaware-perl_0.005-2.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
module to make an object aware of process forks and threads
Object::ForkAware invisibly wraps your object and makes it fork-aware, automatically checking $$ on every access and recreating the object if the process id changes. (The object is also thread-aware; if the thread id changes, the object is recreated in the same manner.)
The object can be safely used with type checks and various type constraint mechanisms, as isa() and can() respond as if they were being called against the contained object itself.
Rationale: If you've ever had an object representing a network connection to some server, or something else containing a socket, a filehandle, etc, and used it in a program that forks, and then forgot to close and reopen your socket/handle etc. in the new process, you'll know what chaos can ensue. Depending on the type of connection, you can have multiple processes trying to write to the same resource at once, or simultaneous reads getting each other's data, dogs and cats living together... It's horrible, and it's an easy problem to run into.
Autres paquets associés à libobject-forkaware-perl
|
|
|
|
-
- dep: perl
- langage de rapports et d'extractions pratiques de Larry Wall
Télécharger libobject-forkaware-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 10,6 ko | 31,0 ko | [liste des fichiers] |