diff options
author | 2015-08-28 04:38:47 +0000 | |
---|---|---|
committer | 2015-08-28 04:38:47 +0000 | |
commit | 171fc181543e7ac425f46aec98f388d2e7abae0c (patch) | |
tree | b4ead563c1f981843122b559ac53fb9287e846e7 /usr.bin/tmux/names.c | |
parent | Modify ttystats_init() to tell us about the buffer size, so that we (diff) | |
download | wireguard-openbsd-171fc181543e7ac425f46aec98f388d2e7abae0c.tar.xz wireguard-openbsd-171fc181543e7ac425f46aec98f388d2e7abae0c.zip |
Rework the UNIX domain socket garbage collector, including ideas from
{Free,Net}BSD
- when a socket is closed with fds in its input, defer closing them to
a task to avoid recursing. This eliminates the complicated extra
reference taking which had a 37 line(!) comment explanation
- move flags, counts, and links only needed for this from struct file to
struct unpcb
- document the flow of the mark/sweep collector
much help from claudio@ who made me explain the GC to him until we trusted it
ok claudio@ mpi@ deraadt@
Diffstat (limited to 'usr.bin/tmux/names.c')
0 files changed, 0 insertions, 0 deletions