[Haskell-cafe] C global vars local to threads

Maurí­cio briqueabraque at yahoo.com
Sun Jun 28 20:06:31 EDT 2009

I would like to write a wrapper to C global
variable, but that variable is unique to each
thread. Is there some native support on that
in Haskell FFI?

(I imagine I probably should write a C function
to get its pointer as an 'IO (Ptr ...)', but I
would like to check if there's a more standard
way to do that.)


More information about the Haskell-Cafe mailing list