[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to support output synchronization under -j

From: Eli Zaretskii
Subject: Re: patch to support output synchronization under -j
Date: Fri, 15 Apr 2011 13:54:05 +0300

> Date: Thu, 14 Apr 2011 16:30:42 -0400
> From: David Boyce <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> I don't know why this hasn't occurred to me or the authors of similar
> programs before, but it appears to be possible to get a lock on any
> writable file descriptor - for instance stdout or stderr, or one of
> the jobserver-fds. I just changed syncsh to synchronize around a lock
> on stdout and it seems to work. This looks much more elegant than
> specifying a writable file.
> Or is my understanding of file/pipe/locking semantics flawed? And how
> would Windows/DOS/VMS/OS2 would do with this?

If you explain what you mean by "file/pipe/locking" (e.g., what APIs
do you intend to use?), I will look into the possibilities of
emulating that on DOS/Windows.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]