Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multithreading issue #105

Closed
yatagan opened this issue Apr 20, 2018 · 2 comments
Closed

Multithreading issue #105

yatagan opened this issue Apr 20, 2018 · 2 comments

Comments

@yatagan
Copy link

yatagan commented Apr 20, 2018

My code works well until I start to use several threads:

<class 'ctypes.ArgumentError'>: argument 5: <class 'TypeError'>: expected LP_LP_c_void_p instance instead of pointer to LP_c_void_p

It happens on line 481:

ctypes.byref(p_num_results))

Rtree==0.8.3

@yatagan
Copy link
Author

yatagan commented Apr 20, 2018

Multithreading #53

@hobu
Copy link
Member

hobu commented Nov 11, 2019

Rtree is not threadsafe. Patches accepted to improve the situation, but know that it would be a lot of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants