
On Sun, 09 Dec 2012 14:13:27 +0100, Klaim - Joël Lamotte <mjklaim@gmail.com> wrote:
On Sun, Dec 9, 2012 at 2:06 PM, Roland Bock <rbock@eudoxos.de> wrote:
I say: Do both.
* Abstract away all differences for those who do not care about platform specific ways of doing this or that. * Allow those who /do/ care to use platform specific methods in addition (although I would prefer wrappers for system functions).
Just my 2ct. I'd fall under the first category.
Exactly the same for me.
Sounds fair to me! And having added the header file boost/process/mitigate.hpp recently users have now a choice. Some might still not be happy with the options to choose from. But there is now a choice at least. :) And as #ifdefs have been mentioned in other threads in the previous months: The only use case I'm aware of where #ifdefs are ultimately required is waiting asynchronously for child processes to exit. For anything else it is possible to write cross-platform code (unless someone uses intentionally features which are only available on one platform, like file descriptors > 2 on POSIX). If anyone runs into a problem here, please let me know and I see what I can do about it. Boris