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>

index | next in thread | raw e-mail

I've been told by a co-worker that a freebsd developer once told him that mutex locking on socket descriptors was not necessary to avoid issues with multiple threads reading and writing.  I would like to confirm this is true of file descriptors as well, and in particular of device driver file descriptors, before I abandon them in my code.  The driver in question is a simple `usb_fifo_methods` type driver.


Thanks.


- Steve Wall


help

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