Re: Thread Local Storage

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

However, I am rather curious what you need this for...

Erm, threads (in Phix), obviously! Specifically my implementation of c_proc/c_func want to save and call_back wants to restore ebp, which works fine single-threaded using a single static var but will go rather pear-shaped once CreateThread gets involved.

I have just spent about 10 months refactoring Phix innards towards being thread safe, dunno where OpenEu has got to on that front.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu