<div dir="auto">I have a C library that isn't thread safe due to globals. Normally this would result in us running multiple applications for each instance we needed, but wondered if there was a another way to achieve this. I might even be wrong, and due to the way we wrote things it will work anyway.<div dir="auto"><br></div><div dir="auto">To provide a little bit of context we wrote a Java library, call it Device Client Library, that uses this C library to make a single connection. In your application, you create a Device Client object for each connection you need to make. My understanding is this still doesn't give the separated memory space needed for the globals or do the right kind of operating system calls to allow this to work the same way multiple running applications would.</div><div dir="auto"><br></div><div dir="auto">Is this correct? Is there maybe something we could modify in the Runtime Helper to get around this limitation so we don't have to have 30-40 applications running?</div><div dir="auto"><br></div></div>