std.process - POSIX specific callback

dennis luehring dl.soluz at gmx.net
Fri Jun 7 01:35:50 PDT 2013


Am 07.06.2013 10:21, schrieb Lars T. Kyllingstad:
> On Friday, 7 June 2013 at 07:57:07 UTC, nazriel wrote:
>> Again, I am not forcing anything on you or Steven.
>> I am asking you for opinion on something I find useful because
>> you are the experts and I really like your work on new
>> std.process
>
> It's not up to us either.  If the community wants it, and it can
> be implemented in a seamless manner, it should be.
>
> By the way, did you look at Dennis Luehring's suggestion?
>
>     http://linux.die.net/man/3/pthread_atfork
>
> This looks like just what you need and more, it is part of the
> POSIX standard, and as far as I can see it can be used together
> with std.process.  You just call pthread_atfork() before you call
> spawnProcess().
>

maybe

http://sourceware.org/pthreads-win32/

or this nice fork
https://github.com/GerHobbelt/pthread-win32

can give a hint how pthread_atfork can "work" under windosw
and show a way how to unifie the idea for both worlds


More information about the Digitalmars-d mailing list