-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/1/2010 3:11 ??, Oeschey, Lars (I/ET-83, extern) wrote: > Hi, > > I'm trying to write a script within the VMware vSphere Perl SDK. The > script will backup some VMs where those have it defined in Vsphere. > Currently I have the problem, that I get a timeout on my authenticated > connect, and can't reconnect (I don't know why, and the VMWare forums > aren't helpful there). So I thought about authenticating, and then > forking or creating a thread that does something in the VSphere to keep > the authentication alive. My problem here is that I don't know how to > end the forked/threaded process, aber all backups in the parent process > are done. This is the first time I have to do forking/threading, I read > about both but still am unsure about how to communicate to the child > that it should exit it's infinite loop. > Is there any best practice or something I should read about and don't > know? > > Lars > _______________________________________________
read the code here http://github.com/book/HTTP-Proxy/blob/master/lib/HTTP/Proxy/Engine/Legacy.pm It will enlighten you ! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLVbAtAAoJECIvZqD7XRsw0O8H/RTxP2nIxGOPNcQIYaKb+ECu ZqSoX5AE3aPVnAcHtnpOJSTOqyKc2ltmtNpCSVoxfw3ozLBRqBt1lhDiTigm/GBj 3wrLqquaTbzBTLOm61OosS9leSMtDNykItUJjGeAn0qRqPQp/yY2vIq4lQzHEosS aT2HF1aWB+JB6kYwDVzADymQfCcJ/btZknByFH1kktsttbrlxkhUaw8/zx9e5x7C 1ghSslToXpsZltPf8DdKcafYtmvB4niES8oqe0qsa/tMooO/TN5TVFTn3iX4xjek TY7OFUczcN+5pe+qIMhKsPvNw9ohqLbUiloOab3akAacTAObYgHdukWM0Y/LQJI= =rGsE -----END PGP SIGNATURE-----
<<attachment: angelos.vcf>>
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
