{"action":"created","issue":{"url":"https://api.github.com/repos/Torndeco/extDB2/issues/101","labels_url":"https://api.github.com/repos/Torndeco/extDB2/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/Torndeco/extDB2/issues/101/comments","events_url":"https://api.github.com/repos/Torndeco/extDB2/issues/101/events","html_url":"https://github.com/Torndeco/extDB2/issues/101","id":113470219,"number":101,"title":"Is extDB2 thread safe?","user":{"login":"dbenson24","id":9063043,"avatar_url":"https://avatars.githubusercontent.com/u/9063043?v=3","gravatar_id":"","url":"https://api.github.com/users/dbenson24","html_url":"https://github.com/dbenson24","followers_url":"https://api.github.com/users/dbenson24/followers","following_url":"https://api.github.com/users/dbenson24/following{/other_user}","gists_url":"https://api.github.com/users/dbenson24/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenson24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenson24/subscriptions","organizations_url":"https://api.github.com/users/dbenson24/orgs","repos_url":"https://api.github.com/users/dbenson24/repos","events_url":"https://api.github.com/users/dbenson24/events{/privacy}","received_events_url":"https://api.github.com/users/dbenson24/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T23:11:02Z","updated_at":"2015-10-26T23:21:29Z","closed_at":"2015-10-26T23:19:16Z","body":"Looking at the example async.sqf file, I noticed that there is no logic for handling numerous SQF threads trying to make calls to the extension at the same time. Is it safe to have multiple threads calling the extension simultaneously do I need to code in some sort of lock that only lets one thread call the extension at a time.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Torndeco/extDB2/issues/comments/151312245","html_url":"https://github.com/Torndeco/extDB2/issues/101#issuecomment-151312245","issue_url":"https://api.github.com/repos/Torndeco/extDB2/issues/101","id":151312245,"user":{"login":"chris579","id":6552521,"avatar_url":"https://avatars.githubusercontent.com/u/6552521?v=3","gravatar_id":"","url":"https://api.github.com/users/chris579","html_url":"https://github.com/chris579","followers_url":"https://api.github.com/users/chris579/followers","following_url":"https://api.github.com/users/chris579/following{/other_user}","gists_url":"https://api.github.com/users/chris579/gists{/gist_id}","starred_url":"https://api.github.com/users/chris579/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris579/subscriptions","organizations_url":"https://api.github.com/users/chris579/orgs","repos_url":"https://api.github.com/users/chris579/repos","events_url":"https://api.github.com/users/chris579/events{/privacy}","received_events_url":"https://api.github.com/users/chris579/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T23:21:29Z","updated_at":"2015-10-26T23:21:29Z","body":"It is thread safe. Looking at asyncCall.sqf you can see that is repeating the execution when the extension got locked from another script  thread (return value `\"[3]\"`)."}}