This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

daemon...


I've gotten the daemon able to track process's and fire off callback
procedures when a process quits. (Well not quite, I've got the tracking
and detection ok, had to take a brak then).

Annnyway, the point of this is that when a abnormal termination takes
place - (say) a shm attached process sigv'ing, the daemon can notice and
correct it's data structure - or shared ones. Using this example, the
nattach count needs to be decremented. Other possibilities include FIFO
reader/writer count management/removing unix socket files..

There may be more opportunities than that. This is something I hadn't
put up as a goal, cause I wasn't sure how hard it would turn out to be.

Anyway, I've also added a '(no)daemon' environment variable, which can
default to no, to allow a zero-impact period when the daemon is off by
default. (or even for specific builds).

Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]