Sign in to follow this  
Followers 0
CrewXp

Can someone explain _Singleton's mutex/namespace usage?

3 posts in this topic

Hey, I'm just curious as to how exactly this works. What's _Singleton("Global\test",2) supposed to do? Can someone provide a quick example of how it can be used? Can another program read it's variables through this? If not, what does it do? Mainly found this looking for a way for my script to communicate 'easily' to another script without using tcp

Thanks!

Share this post


Link to post
Share on other sites



Yeah, I understand that. You're basically explaining how Singleton works, right?

I was just curious about the Global part and ",2" parameter that's mentioned in the help. I have no clue what that means and am curious to learn more.

Share this post


Link to post
Share on other sites

Ahh. gotcha. Makes more sense.

I got the wrong idea from this thread:

http://www.autoitscript.com/forum/index.php?showtopic=106018&st=0&p=748858&hl=_Singleton&fromsearch=1&#entry748858

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0