Re: cuse(3) cuse_wait_and_process thread safety

Unitrunker <[email protected]>
Newsgroups gmane.os.freebsd.devel.multimedia
Message-ID <_tTOOZRxWd3TbSYFJVZ8A8GoD10fjnan_EH7gjZwnOWEb5kfu12nMpKc7TFJefKz_4AL12qXG1IgkUuCNErELrBYelxFP85oBObXFqZ52uk=@unitrunker.net>
Good news: I've convinced myself that this isn't a problem.

In my limited observations, libcuse prevents two threads from operating on the same client's stream. With a second stream, I see evidence of two threads operating concurrently - just never in the same stream.


On Wednesday, March 4th, 2026 at 12:39 PM, Unitrunker <[email protected]> wrote:

> I'll drop a POC once I have it working. Of course, if I can't make it fail, that's a good thing.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.