tech-userlevel archive

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

Re: flock(2): locking against itself?



On Tue, 18 Apr 2023, Mouse wrote:

While writing this mail, it occurs to me that a mode wherein everything
operates same as now, except that output, instead of being pushed to
the tty with fwrite() or write() or writev() or whatever, is just
passed to a callback.  That would address my use cases with a much less
intrusive change.


Try libtickit--that uses callbacks (I think):

https://www.leonerd.org.uk/code/libtickit/

-RVP


Home | Main Index | Thread Index | Old Index