Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 14:19:01 +0000
From:      "Wall, Stephen" <stephen.wall@redcom.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   mutex locking on file descriptors?
Message-ID:  <0ae4590637e54a479228b38a823535a8@redcom.com>

next in thread | raw e-mail | index | archive | help
I've been told by a co-worker that a freebsd developer once told him that m=
utex locking on socket descriptors was not necessary to avoid issues with m=
ultiple threads reading and writing.  I would like to confirm this is true =
of file descriptors as well, and in particular of device driver file descri=
ptors, before I abandon them in my code.  The driver in question is a simpl=
e `usb_fifo_methods` type driver.


Thanks.


- Steve Wall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ae4590637e54a479228b38a823535a8>