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

Ensure thread-safety of library #7

Open
sureshjoshi opened this issue Feb 5, 2017 · 2 comments
Open

Ensure thread-safety of library #7

sureshjoshi opened this issue Feb 5, 2017 · 2 comments

Comments

@sureshjoshi
Copy link
Member

Right now, calling multiple APIs before completion might cause some issues - should look into thread safety or locking.

@sureshjoshi
Copy link
Member Author

Look at something like this: http://basememara.com/creating-thread-safe-arrays-in-swift/

Also, (note to self): Review whenLoaded{} pattern, as it's thread-safe and handles arrays of callbacks.

@sureshjoshi
Copy link
Member Author

With addition of queues, library isn't "thread-safe" but it's getting there.

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

No branches or pull requests

1 participant