Jump to content

Can someone explain _Singleton's mutex/namespace usage?


CrewXp
 Share

Recommended Posts

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!

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...