{"action":"created","issue":{"url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/59","labels_url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/59/comments","events_url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/59/events","html_url":"https://github.com/libspatialindex/libspatialindex/issues/59","id":58413957,"number":59,"title":"Windows thread support","user":{"login":"brano543","id":6738774,"avatar_url":"https://avatars.githubusercontent.com/u/6738774?v=3","gravatar_id":"","url":"https://api.github.com/users/brano543","html_url":"https://github.com/brano543","followers_url":"https://api.github.com/users/brano543/followers","following_url":"https://api.github.com/users/brano543/following{/other_user}","gists_url":"https://api.github.com/users/brano543/gists{/gist_id}","starred_url":"https://api.github.com/users/brano543/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brano543/subscriptions","organizations_url":"https://api.github.com/users/brano543/orgs","repos_url":"https://api.github.com/users/brano543/repos","events_url":"https://api.github.com/users/brano543/events{/privacy}","received_events_url":"https://api.github.com/users/brano543/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T21:37:33Z","updated_at":"2015-02-21T01:40:07Z","closed_at":null,"body":"Hello, can you add thread support for the windows? Now its only possible with the POSIX threads https://www.sourceware.org/pthreads-win32/. I want to use the libspatialindex as database and those semaphores can help me to keep the consistency of data stored when there will be many queries. I am not an expert on this so correct me if i am wrong about semaphores that with them  i can use that library as a database,because they provide consistency of the data? You know,there will be many requests coming in and i think that these locks will prevent the data from being corrupted. I just heard about this at school, we didn´t go into much details :)"},"comment":{"url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/comments/75349043","html_url":"https://github.com/libspatialindex/libspatialindex/issues/59#issuecomment-75349043","issue_url":"https://api.github.com/repos/libspatialindex/libspatialindex/issues/59","id":75349043,"user":{"login":"normanb","id":277229,"avatar_url":"https://avatars.githubusercontent.com/u/277229?v=3","gravatar_id":"","url":"https://api.github.com/users/normanb","html_url":"https://github.com/normanb","followers_url":"https://api.github.com/users/normanb/followers","following_url":"https://api.github.com/users/normanb/following{/other_user}","gists_url":"https://api.github.com/users/normanb/gists{/gist_id}","starred_url":"https://api.github.com/users/normanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanb/subscriptions","organizations_url":"https://api.github.com/users/normanb/orgs","repos_url":"https://api.github.com/users/normanb/repos","events_url":"https://api.github.com/users/normanb/events{/privacy}","received_events_url":"https://api.github.com/users/normanb/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T01:40:07Z","updated_at":"2015-02-21T01:40:07Z","body":"@davisp and myself currently use libspatialindex (and others) as a secondary index to Cloudant. It isn't a primary index for our database. Even then, we have had some issues and @davisp added a transactional storage container (which we will in the in the future try to put in the core libspatialindex code base). We benefit from some erlang features such as process mgmt which I had originally put as a native interface (NIF) but are much more secure in a process. I agree with @davisp about removing the threading from the library. @hobu @davisp and I are actively working on moving libspatialindex to a C++11 codebase. "}}