mbox

[hurd,commited,0/3] More cancel work

Message ID 20200628014526.310138-1-samuel.thibault@ens-lyon.org
Headers

Message

Samuel Thibault June 28, 2020, 1:45 a.m. UTC
  Samuel Thibault (3):
  htl: Fix includes for lockfile
  htl: Move cleanup handling to non-private libc-lock
  hurd: clean fd and port on thread cancel

 hurd/Makefile                    |  3 +-
 hurd/fd-cleanup.c                | 33 +++++++++++++++
 hurd/fd-read.c                   |  2 +-
 hurd/fd-write.c                  |  2 +-
 hurd/hurd.h                      |  1 +
 hurd/hurd/fd.h                   |  1 +
 hurd/hurd/port.h                 |  1 +
 hurd/port-cleanup.c              | 13 +++++-
 sysdeps/htl/flockfile.c          |  2 +-
 sysdeps/htl/ftrylockfile.c       |  4 +-
 sysdeps/htl/funlockfile.c        |  3 +-
 sysdeps/htl/libc-lock.h          | 70 ++++++++++++++++++++++++++++++++
 sysdeps/htl/libc-lockP.h         | 33 ---------------
 sysdeps/hurd/include/hurd.h      |  5 +++
 sysdeps/hurd/include/hurd/fd.h   | 41 +++++++++++++++++++
 sysdeps/hurd/include/hurd/port.h | 24 +++++++++++
 sysdeps/mach/hurd/recv.c         | 12 +++---
 sysdeps/mach/hurd/recvfrom.c     | 12 +++---
 sysdeps/mach/hurd/recvmsg.c      | 12 +++---
 sysdeps/mach/hurd/send.c         |  8 ++--
 sysdeps/mach/hurd/sendmsg.c      |  2 +-
 sysdeps/mach/hurd/sendto.c       |  2 +-
 22 files changed, 219 insertions(+), 67 deletions(-)
 create mode 100644 hurd/fd-cleanup.c
 create mode 100644 sysdeps/htl/libc-lock.h