Re: [racket-users] Top Level Variables or List of Shared Libraries

2016-01-28 Thread Leif Andersen
That seems to work, thank you. ~Leif Andersen On Thu, Jan 28, 2016 at 4:05 PM, Ryan Culpepper wrote: > The openssl library uses scheme_register_process_global to make sure it > initializes the openssl foreign library only once. See the end of > openssl/mzssl.rkt. > > Ryan > > > > On 01/28/2016

Re: [racket-users] Top Level Variables or List of Shared Libraries

2016-01-28 Thread Ryan Culpepper
The openssl library uses scheme_register_process_global to make sure it initializes the openssl foreign library only once. See the end of openssl/mzssl.rkt. Ryan On 01/28/2016 02:33 PM, Leif Andersen wrote: Since a lot of people were at POPL last week, I think it's worth pinging this list ag

Re: [racket-users] Top Level Variables or List of Shared Libraries

2016-01-28 Thread Leif Andersen
Since a lot of people were at POPL last week, I think it's worth pinging this list again. Does anyone have a solution to the problem stated in the previous email? Namely, is there a way to either create a top-level variable that persists until the VM dies, get a list of all dynamically linked lib

Re: [racket-users] Top Level Variables or List of Shared Libraries

2016-01-19 Thread 'John Clements' via Racket Users
> On Jan 19, 2016, at 11:14 AM, Leif Andersen wrote: > > Is it possible to either create a variable that persists until the > Racket VM shuts down or get a list of all of the libraries that are > shared libraries that are currently being linked against the racket > vm? I can’t help you. But! Th

[racket-users] Top Level Variables or List of Shared Libraries

2016-01-19 Thread Leif Andersen
Is it possible to either create a variable that persists until the Racket VM shuts down or get a list of all of the libraries that are shared libraries that are currently being linked against the racket vm? The reason why I ask is because I created a `from-c` require form[1], which takes in a C im