{"action":"created","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/1967","labels_url":"https://api.github.com/repos/manastech/crystal/issues/1967/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/1967/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/1967/events","html_url":"https://github.com/manastech/crystal/issues/1967","id":123720496,"number":1967,"title":"Threading?","user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-12-23T20:45:59Z","updated_at":"2015-12-25T14:47:14Z","closed_at":null,"body":"How do I create a thread in Crystal? I have code that needs to run in parallel. The source file for the Thread class says not to use it; but the alternative is not clear. Also, I am uncertain if the alternatives will actually be helpful in this case. All I want to do is normal multithreading. How is this done using Crystal?"},"comment":{"url":"https://api.github.com/repos/manastech/crystal/issues/comments/167243090","html_url":"https://github.com/manastech/crystal/issues/1967#issuecomment-167243090","issue_url":"https://api.github.com/repos/manastech/crystal/issues/1967","id":167243090,"user":{"login":"stugol","id":1113153,"avatar_url":"https://avatars.githubusercontent.com/u/1113153?v=3","gravatar_id":"","url":"https://api.github.com/users/stugol","html_url":"https://github.com/stugol","followers_url":"https://api.github.com/users/stugol/followers","following_url":"https://api.github.com/users/stugol/following{/other_user}","gists_url":"https://api.github.com/users/stugol/gists{/gist_id}","starred_url":"https://api.github.com/users/stugol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stugol/subscriptions","organizations_url":"https://api.github.com/users/stugol/orgs","repos_url":"https://api.github.com/users/stugol/repos","events_url":"https://api.github.com/users/stugol/events{/privacy}","received_events_url":"https://api.github.com/users/stugol/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T14:47:14Z","updated_at":"2015-12-25T14:47:14Z","body":"\"Goroutines are multiplexed as needed onto system threads. When a goroutine executes a blocking system call, no other goroutine is blocked.\"\r\n\r\nThe same cannot be said for Crystal, as I understand it.\r\n\r\nIf I need to perform parallel number crunching - or if, for some reason, an IO call is blocking and there's nothing I can do about it - how can I solve this in Crystal?"}}