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

Make dbd-oracle threadsafe #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Make dbd-oracle threadsafe #4

wants to merge 2 commits into from

Conversation

hjudt
Copy link

@hjudt hjudt commented May 5, 2020

No description provided.

Initialize OCIEnv in threadsafe mode and protect
the *foreign-resource-hash* by declaring it as synchronized (this
might only be possible in sbcl).
Loading the foreign library in make-connection isn't thread-safe
either and would need to be protected by a lock.

As a work-around, load it when loading the system. dbd-oracle won't
work anyway when it can't load the foreign library.
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.

1 participant