Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nbsystems

Pages: [1]
1
General Discussion about just::thread / Re: managed C++ crash
« on: November 10, 2012, 01:03:32 AM »
Have you had a chance to look into this further?

2
General Discussion about just::thread / Re: managed C++ crash
« on: May 10, 2012, 11:34:52 PM »
Thanks for looking into it!

3
General Discussion about just::thread / Re: managed C++ crash
« on: May 08, 2012, 01:09:52 AM »
We've been researching this issue further, hoping to find a workaround. We've found that the Boost thread library uses TLS callbacks for similar purposes. However, in Boost::thread it's possible to disable the TLS-callback-based automatic cleanup and free thread-specific resources manually instead (although documentation of this option is scant). This would presumably allow the library to be used in a mixed-mode DLL.

Is there a chance that such an option could be implemented within Just::Thread? We would prefer not to switch to the Boost thread library if possible.

4
General Discussion about just::thread / Re: managed C++ crash
« on: January 23, 2012, 11:16:39 PM »
Thanks for the reply.

What exactly is the restriction?
The current setup of this application is a managed application which loads and uses a native COM dll. Just::Thread is used by the native COM dll and that works fine.
We would like to add some managed code to this dll, but the code using your library would still be entirely native. What is it exactly that happens during the module load process that causes this crash?

5
General Discussion about just::thread / managed C++ crash
« on: January 23, 2012, 08:44:27 PM »
I'm using your current release with Visual Studio 2008.
I find that managed C++ applications or mixed mode applications that link to your debug dll crash when the module is loaded. Merely including <thread> is enough to cause this crash.
It does not crash in release mode.

Is your library tested in managed contexts?
thanks

Pages: [1]