Re: Linux blocked on file read on exit, need select

2016-03-20 Thread cy via Digitalmars-d-learn
I don't know, but you could always just use fcntl if you already can assume you're on Linux. extern (C) int fcntl(int, int, int); C keeps the constants under lock and key of course, so you have to specify them manually. But you could write a C program to print them out, or generate D code I

Linux blocked on file read on exit, need select

2016-03-20 Thread Darrell Gallion via Digitalmars-d-learn
Program is blocked on exit, because of a blocking file read. I'd be glad to just kill it and exit. In this case I'm using dinotify, I exposed the fd. This issue is it's not working or blocked on exit. Never mind the constant monitor.add static immutable string stdoutFn="passFiles/vAppStdout";