{"action":"opened","issue":{"number":38,"created_at":"2011-10-12T15:19:22Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I have three channels with people on its access list and I am trying to build a global hash with the nicks and their access level from all three channels. In addition, for each nickname i am doing a nickserv glist NICK which returns the grouped nicks for that nickname and i add those to the global staff list as well.\r\n\r\nThe problem is that sometimes this works and some times it does not because did_receive_notice is being triggered by the next notice request (since the bot is threaded) and the previous request might hasn't complete yet.\r\n\r\nI need a way to make did_receive_notice of a specific leaf to be synchronized with all threads and make each thread wait until the previous one is finished.\r\n\r\nIs this possible?\r\n\r\nMore generally speaking i think this kind of problems should be added in documentation. I find it very difficult to implement various things due to the fact that everything is threaded and I have no way to control the threading whenever I must. ","comments":0,"title":"Problem with thread synchronization","updated_at":"2011-10-12T15:19:22Z","url":"https://api.github.com/repos/RISCfuture/autumn/issues/38","id":1888394,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/470d197cf4d35d7e1939229f684d3af9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/arekanderu","id":82233,"login":"arekanderu"},"html_url":"https://github.com/RISCfuture/autumn/issues/38","labels":[],"state":"open"},"legacy":{"number":38,"action":"opened","issue":1888394}}