-
Notifications
You must be signed in to change notification settings - Fork 84
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
Reason for the Synchronized call in LinProcessFactory
#159
Comments
I don't think I can offer a definitive reason for it, as that block predates my involvement with NuProcess by several years, but the commits link back to issue #6 and some problems with "hanging" when creating processes. Even if the With that said, I'm not sure I entirely understand what you're asking. The JDK8 link you provide is to the Windows Can you clarify what you're looking for, and what your use case is that makes it important to you? |
Thank you for the update, @bturner. We are hoping for a single solution across different OSes, so only we enquired you about the feasibility of removing it. Could you please elaborate on the differences between the Also, if you feel/say that synchronization is not needed, can a new version of NuProcess be released with that removed ? |
We are currently seeking an alternative solution to the Java
ProcessBuilder
, which uses a synchronized native call in theProcessImpl.create
method to create processes.While exploring the NuProcess, we noticed that the Linux implementation includes a static synchronized call in the
createProcess
method.Could you help us understand the reason for this synchronized call in the NuProcess implementation?
The text was updated successfully, but these errors were encountered: