{"action":"closed","issue":{"url":"https://api.github.com/repos/fsprojects/FSharpx.Collections/issues/35","labels_url":"https://api.github.com/repos/fsprojects/FSharpx.Collections/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharpx.Collections/issues/35/comments","events_url":"https://api.github.com/repos/fsprojects/FSharpx.Collections/issues/35/events","html_url":"https://github.com/fsprojects/FSharpx.Collections/issues/35","id":89088601,"number":35,"title":"GetHashCode & thread safety","user":{"login":"eacasanovaspedre","id":12940432,"avatar_url":"https://avatars.githubusercontent.com/u/12940432?v=3","gravatar_id":"","url":"https://api.github.com/users/eacasanovaspedre","html_url":"https://github.com/eacasanovaspedre","followers_url":"https://api.github.com/users/eacasanovaspedre/followers","following_url":"https://api.github.com/users/eacasanovaspedre/following{/other_user}","gists_url":"https://api.github.com/users/eacasanovaspedre/gists{/gist_id}","starred_url":"https://api.github.com/users/eacasanovaspedre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eacasanovaspedre/subscriptions","organizations_url":"https://api.github.com/users/eacasanovaspedre/orgs","repos_url":"https://api.github.com/users/eacasanovaspedre/repos","events_url":"https://api.github.com/users/eacasanovaspedre/events{/privacy}","received_events_url":"https://api.github.com/users/eacasanovaspedre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-17T18:18:44Z","updated_at":"2015-06-18T12:23:22Z","closed_at":"2015-06-18T12:23:22Z","body":"I have noticed that some of the collections implemented here rely on a mutable Option field to store the hashCode and that field is changed inside GetHashCode, making the collection \"thread unsafe\", even in collections that I would assume thread safe. Should not the code inside GetHashCode be surrounded by a lock? Is my thinking wrong in any way, or am I assuming what I should not?"}}