Re: diff: split ctloutput into getopt/setopt

2018-10-24 Thread Martin Pieuchot
On 18/10/18(Thu) 11:34, David Hill wrote: > Hello - > > This diff splits the ctloutput functions into getopt/setopt, which could > offer more fine-grained locking. It also removes some indentation and > imo is easier to read. > > Thoughts? Splitting the read and write path makes sense, it will

Re: diff: split ctloutput into getopt/setopt

2018-10-22 Thread Alexander Bluhm
On Thu, Oct 18, 2018 at 11:34:37AM -0400, David Hill wrote: > This diff splits the ctloutput functions into getopt/setopt, which could > offer more fine-grained locking. It also removes some indentation and > imo is easier to read. > > Thoughts? OK bluhm@ > Index: net/rtsock.c > ===

diff: split ctloutput into getopt/setopt

2018-10-18 Thread David Hill
Hello - This diff splits the ctloutput functions into getopt/setopt, which could offer more fine-grained locking. It also removes some indentation and imo is easier to read. Thoughts? Index: net/rtsock.c === RCS file: /cvs/src/sys/