Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230200

Re: How to access Data Object from Perl thread

$
0
0

It's COW with fork.  So if your child calls into the API, it will impact the parent's API session.

 

You want to be sure you clear the VIM global.  You might want to initialize a new VIM session using the same session id from the parent in the child.  So two sockets.  Just be sure one doesn't disconnect before you're done with it.  You can change the behavior on VIM going out of scope (undef) with "unset_logout_on_disconnect()" on the VIM object so it will not close the session if a child or parent is destroyed.  Then be sure you call logout on your own.


Viewing all articles
Browse latest Browse all 230200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>