{"action":"created","issue":{"url":"https://api.github.com/repos/vrvis/aardvark/issues/19","labels_url":"https://api.github.com/repos/vrvis/aardvark/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/vrvis/aardvark/issues/19/comments","events_url":"https://api.github.com/repos/vrvis/aardvark/issues/19/events","html_url":"https://github.com/vrvis/aardvark/issues/19","id":112772867,"number":19,"title":"AdaptiveSet passThrough optimization on Remove does not work","user":{"login":"haraldsteinlechner","id":513281,"avatar_url":"https://avatars.githubusercontent.com/u/513281?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldsteinlechner","html_url":"https://github.com/haraldsteinlechner","followers_url":"https://api.github.com/users/haraldsteinlechner/followers","following_url":"https://api.github.com/users/haraldsteinlechner/following{/other_user}","gists_url":"https://api.github.com/users/haraldsteinlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldsteinlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldsteinlechner/subscriptions","organizations_url":"https://api.github.com/users/haraldsteinlechner/orgs","repos_url":"https://api.github.com/users/haraldsteinlechner/repos","events_url":"https://api.github.com/users/haraldsteinlechner/events{/privacy}","received_events_url":"https://api.github.com/users/haraldsteinlechner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T10:21:53Z","updated_at":"2015-10-22T11:05:55Z","closed_at":null,"body":"in Remove:\r\n```\r\n                | None ->\r\n                    r.RemoveOutput ri\r\n                    readers.Remove ri |> ignore\r\n\r\n                    if readerCount = 2 then\r\n                        let r = readers |> Seq.exactlyOne\r\n                        r.SetPassThru(true, false)\r\n                        onlyReader <- Some r\r\n\r\n            readerCount <- readerCount - 1\r\n```\r\n\r\n\r\nSeq.exactlyOne fails because of concurrent modification on readers if remove is called concurrently by the GC. For the moment i disabled the check and stay in non-pass-through"},"comment":{"url":"https://api.github.com/repos/vrvis/aardvark/issues/comments/150181344","html_url":"https://github.com/vrvis/aardvark/issues/19#issuecomment-150181344","issue_url":"https://api.github.com/repos/vrvis/aardvark/issues/19","id":150181344,"user":{"login":"haraldsteinlechner","id":513281,"avatar_url":"https://avatars.githubusercontent.com/u/513281?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldsteinlechner","html_url":"https://github.com/haraldsteinlechner","followers_url":"https://api.github.com/users/haraldsteinlechner/followers","following_url":"https://api.github.com/users/haraldsteinlechner/following{/other_user}","gists_url":"https://api.github.com/users/haraldsteinlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldsteinlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldsteinlechner/subscriptions","organizations_url":"https://api.github.com/users/haraldsteinlechner/orgs","repos_url":"https://api.github.com/users/haraldsteinlechner/repos","events_url":"https://api.github.com/users/haraldsteinlechner/events{/privacy}","received_events_url":"https://api.github.com/users/haraldsteinlechner/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T11:05:55Z","updated_at":"2015-10-22T11:05:55Z","body":"tried to fix via locking (lock mutable vars onlyReader et al). Although those vars only occur privately in aset i still have appearently concurrent modifications. totally crazy"}}