{"action":"created","issue":{"url":"https://api.github.com/repos/hannorein/rebound/issues/151","repository_url":"https://api.github.com/repos/hannorein/rebound","labels_url":"https://api.github.com/repos/hannorein/rebound/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/hannorein/rebound/issues/151/comments","events_url":"https://api.github.com/repos/hannorein/rebound/issues/151/events","html_url":"https://github.com/hannorein/rebound/issues/151","id":143042868,"number":151,"title":"can't write data if usleep enabled","user":{"login":"lasibai","id":8025558,"avatar_url":"https://avatars.githubusercontent.com/u/8025558?v=3","gravatar_id":"","url":"https://api.github.com/users/lasibai","html_url":"https://github.com/lasibai","followers_url":"https://api.github.com/users/lasibai/followers","following_url":"https://api.github.com/users/lasibai/following{/other_user}","gists_url":"https://api.github.com/users/lasibai/gists{/gist_id}","starred_url":"https://api.github.com/users/lasibai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasibai/subscriptions","organizations_url":"https://api.github.com/users/lasibai/orgs","repos_url":"https://api.github.com/users/lasibai/repos","events_url":"https://api.github.com/users/lasibai/events{/privacy}","received_events_url":"https://api.github.com/users/lasibai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T18:27:31Z","updated_at":"2016-03-23T21:39:05Z","closed_at":null,"body":"When I set the usleep value of my simulation to 1 or more, the reb_output_orbit function (called in rebound.c) doesn't create the file on which I'm trying to write data. But when I set usleep to a negative value (no OpenGL) it works fine."},"comment":{"url":"https://api.github.com/repos/hannorein/rebound/issues/comments/200553841","html_url":"https://github.com/hannorein/rebound/issues/151#issuecomment-200553841","issue_url":"https://api.github.com/repos/hannorein/rebound/issues/151","id":200553841,"user":{"login":"hannorein","id":53376,"avatar_url":"https://avatars.githubusercontent.com/u/53376?v=3","gravatar_id":"","url":"https://api.github.com/users/hannorein","html_url":"https://github.com/hannorein","followers_url":"https://api.github.com/users/hannorein/followers","following_url":"https://api.github.com/users/hannorein/following{/other_user}","gists_url":"https://api.github.com/users/hannorein/gists{/gist_id}","starred_url":"https://api.github.com/users/hannorein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannorein/subscriptions","organizations_url":"https://api.github.com/users/hannorein/orgs","repos_url":"https://api.github.com/users/hannorein/repos","events_url":"https://api.github.com/users/hannorein/events{/privacy}","received_events_url":"https://api.github.com/users/hannorein/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T21:39:05Z","updated_at":"2016-03-23T21:39:05Z","body":"This sounds strange. It works for me. Can you provide a short problem.c file that illustrates the problem. "}}