Skip to content

Conversation

@cjdoris
Copy link
Member

@cjdoris cjdoris commented Jul 24, 2024

Removes PythonCall.C.with_gil() which existed purely to acquire the GIL which was released by ctypes when initialising Julia via its C API.

Instead, this uses ctypes.PyDLL to call into the C API without releasing the GIL.

@cjdoris cjdoris merged commit ce8bd7a into main Jul 24, 2024
@cjdoris cjdoris deleted the move-gil-handling branch July 24, 2024 17:21
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

Successfully merging this pull request may close these issues.

2 participants