On Thu, 26 Jun 2014 22:32:14, Ruben Van Boxem wrote:
>
> Please reread that page you linked. It says there is performance regression
> in specific scenario's (I don't remember any being reported on this list).
> And that the wrappers add a little overhead over the bare metal
> implementation using newer OS primitives, I'd say that's a no-brainer.
>
> ....


> Test and see. Chances are you won't notice a thing.
>
>
>
I trust you... I'll give it a try


>
> You can use win32 threads!! Just the C++11 <thread>, <mutex> and <future>
> stuff is build on top of the winpthreads library. Nothing is preventing you
> from using only Win32 Threads.
>
>
So you confirm that the stackoverflow post (
http://stackoverflow.com/questions/17242516/mingw-w64-threads-posix-vs-win32)
is wrong about the sentence:

"So if you're using the the version of the runtime that was built with
posix threads but decide to create threads in your own code with the win32
apis, you're likely to have problems at some point."
?




> Anyways, this whole discussion seems to be beside the problem you're trying
> to fix: you need a portable thread C++ library. In comes Boost.Thread. End
> of the line. I don't see any reason why this would not be the right
> solution for you to use.
>

Well, it's not as easy... The code currently use a portable lib (Qt) for
the threads but the question is about splitting a part of the app code for
making a lib, intended to be used in a plugin sdk. And asking the customer
to depend on external libraries is a sensitive topic...

Thanks,

Etienne
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to