Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw exception if shared object is created again #30

Open
avaberlin opened this issue Jan 22, 2021 · 0 comments
Open

throw exception if shared object is created again #30

avaberlin opened this issue Jan 22, 2021 · 0 comments

Comments

@avaberlin
Copy link

avaberlin commented Jan 22, 2021

Currently if a shared object is created twice, no error/exception is thrown.
Is it possible to throw an error for the second call?

Example:
shared_object1 = new Shared.Create('filename')

call the following in another process:
shared_object2 = new Shared.Create('filename') // this should lead to error

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant