std.process - POSIX specific callback

Lars T. Kyllingstad public at kyllingen.net
Fri Jun 7 01:21:30 PDT 2013


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().


More information about the Digitalmars-d mailing list