{"action":"opened","issue":{"url":"https://api.github.com/repos/ocamllabs/reagents/issues/6","labels_url":"https://api.github.com/repos/ocamllabs/reagents/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ocamllabs/reagents/issues/6/comments","events_url":"https://api.github.com/repos/ocamllabs/reagents/issues/6/events","html_url":"https://github.com/ocamllabs/reagents/issues/6","id":103087712,"number":6,"title":"Losing thread in work-sharing scheduler","user":{"login":"kayceesrk","id":410484,"avatar_url":"https://avatars.githubusercontent.com/u/410484?v=3","gravatar_id":"","url":"https://api.github.com/users/kayceesrk","html_url":"https://github.com/kayceesrk","followers_url":"https://api.github.com/users/kayceesrk/followers","following_url":"https://api.github.com/users/kayceesrk/following{/other_user}","gists_url":"https://api.github.com/users/kayceesrk/gists{/gist_id}","starred_url":"https://api.github.com/users/kayceesrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayceesrk/subscriptions","organizations_url":"https://api.github.com/users/kayceesrk/orgs","repos_url":"https://api.github.com/users/kayceesrk/repos","events_url":"https://api.github.com/users/kayceesrk/events{/privacy}","received_events_url":"https://api.github.com/users/kayceesrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T18:28:10Z","updated_at":"2015-08-25T18:28:10Z","closed_at":null,"body":"Running `queue_test.byte 4 10000` occasionally seems to lose threads. This leads to all the domains spin-waiting in the [`dequeue_wid` loop](https://github.com/ocamllabs/reagents/blob/73e823908dfb6750ae9a227140bb02e682ad2580/test/sched_ws.ml#L60), with the `num_threads` count being 1. There should be at least one thread running."}}