{"action":"created","issue":{"url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/221","repository_url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI","labels_url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/221/comments","events_url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/221/events","html_url":"https://github.com/MikeTheWatchGuy/PySimpleGUI/issues/221","id":360338351,"node_id":"MDU6SXNzdWUzNjAzMzgzNTE=","number":221,"title":"Multi-threaded....","user":{"login":"MikeTheWatchGuy","id":13696193,"node_id":"MDQ6VXNlcjEzNjk2MTkz","avatar_url":"https://avatars1.githubusercontent.com/u/13696193?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeTheWatchGuy","html_url":"https://github.com/MikeTheWatchGuy","followers_url":"https://api.github.com/users/MikeTheWatchGuy/followers","following_url":"https://api.github.com/users/MikeTheWatchGuy/following{/other_user}","gists_url":"https://api.github.com/users/MikeTheWatchGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeTheWatchGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeTheWatchGuy/subscriptions","organizations_url":"https://api.github.com/users/MikeTheWatchGuy/orgs","repos_url":"https://api.github.com/users/MikeTheWatchGuy/repos","events_url":"https://api.github.com/users/MikeTheWatchGuy/events{/privacy}","received_events_url":"https://api.github.com/users/MikeTheWatchGuy/received_events","type":"User","site_admin":false},"labels":[{"id":990975813,"node_id":"MDU6TGFiZWw5OTA5NzU4MTM=","url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":990975814,"node_id":"MDU6TGFiZWw5OTA5NzU4MTQ=","url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-14T14:53:49Z","updated_at":"2018-09-14T15:58:12Z","closed_at":null,"author_association":"OWNER","body":"Multi-threaded stuff has been labelled specifically as \"out of bounds\".  The reason for this is that I had a terrible time trying to get a program that was multi-threaded to work despite the fact the GUI portion was only in the main thread.\r\n\r\nI recently tried threads again with better results.  Not sure if the resource issues remain that caused the tkinter errors or not.\r\n\r\nThe basic problem happens when one thread releases/deletes the resources from another thread.  I didn't think this was possible until I saw it happen.  The reason for the Context Manager design patterns was an attempt to get around this issue.\r\n\r\nIt would be nice to have a couple of Demo programs that exercise multi-threading once again.  Maybe it's in better shape than I thought.  One possibility is to modify one of the existing Demo's to be multi-threaded.  Perhaps the Ping demo or the Matplotlib demo.   Or a Demo that fires off a bunch of test threads that simulate a work-load.\r\n"},"comment":{"url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/comments/421403999","html_url":"https://github.com/MikeTheWatchGuy/PySimpleGUI/issues/221#issuecomment-421403999","issue_url":"https://api.github.com/repos/MikeTheWatchGuy/PySimpleGUI/issues/221","id":421403999,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTQwMzk5OQ==","user":{"login":"MikeTheWatchGuy","id":13696193,"node_id":"MDQ6VXNlcjEzNjk2MTkz","avatar_url":"https://avatars1.githubusercontent.com/u/13696193?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeTheWatchGuy","html_url":"https://github.com/MikeTheWatchGuy","followers_url":"https://api.github.com/users/MikeTheWatchGuy/followers","following_url":"https://api.github.com/users/MikeTheWatchGuy/following{/other_user}","gists_url":"https://api.github.com/users/MikeTheWatchGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeTheWatchGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeTheWatchGuy/subscriptions","organizations_url":"https://api.github.com/users/MikeTheWatchGuy/orgs","repos_url":"https://api.github.com/users/MikeTheWatchGuy/repos","events_url":"https://api.github.com/users/MikeTheWatchGuy/events{/privacy}","received_events_url":"https://api.github.com/users/MikeTheWatchGuy/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T15:58:12Z","updated_at":"2018-09-14T15:58:12Z","author_association":"OWNER","body":"I just modified the CPU utilization demo to be multi-threaded, but it's nothing compared to what you did!!\r\n\r\nWow, impressive.  I like the use of disabled buttons!\r\n\r\nThankfully it's working OK with the newly released version 3.2.0 \r\n\r\nI'll play with this for sure! "}}
{"actor":{"display_login":"MikeTheWatchGuy"}}