{"action":"opened","issue":{"url":"https://api.github.com/repos/nioinnovation/python-xbee/issues/36","repository_url":"https://api.github.com/repos/nioinnovation/python-xbee","labels_url":"https://api.github.com/repos/nioinnovation/python-xbee/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/nioinnovation/python-xbee/issues/36/comments","events_url":"https://api.github.com/repos/nioinnovation/python-xbee/issues/36/events","html_url":"https://github.com/nioinnovation/python-xbee/issues/36","id":206348897,"number":36,"title":"thread problem","user":{"login":"liutairan","id":21108341,"avatar_url":"https://avatars.githubusercontent.com/u/21108341?v=3","gravatar_id":"","url":"https://api.github.com/users/liutairan","html_url":"https://github.com/liutairan","followers_url":"https://api.github.com/users/liutairan/followers","following_url":"https://api.github.com/users/liutairan/following{/other_user}","gists_url":"https://api.github.com/users/liutairan/gists{/gist_id}","starred_url":"https://api.github.com/users/liutairan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liutairan/subscriptions","organizations_url":"https://api.github.com/users/liutairan/orgs","repos_url":"https://api.github.com/users/liutairan/repos","events_url":"https://api.github.com/users/liutairan/events{/privacy}","received_events_url":"https://api.github.com/users/liutairan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-08T22:45:04Z","updated_at":"2017-02-08T22:45:04Z","closed_at":null,"body":"I am using python-xbee for a little complex case which thread will be used. I am able to request data from API mode coordinator to AT mode router in normal cases, but once I put the code in a thread (actually using \"threading\") it will never able to read any frame. \r\n\r\nI know this should be something related to thread safety things. Then how to solve this problem?\r\n\r\nThanks~"}}
{"actor":{"display_login":"liutairan"}}