[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libports and interrupted RPCs



Michael Kelly, le sam. 30 août 2025 21:29:46 +0100, a ecrit:
> This sequence of hurd_thread_cancel() calls all occur whilst a single
> process wide mutex is held locked (see libports:interrupt_rpcs.c).

You mean the _ports_lock mutex?

> The same lock is also required to begin or end other RPCs on other
> ports and so they must wait until the initial interrupt_operation
> completes.

? I don't think ports_interrupt_rpcs actually waits for something to
finish? hurd_thread_cancel() should be asynchronous, and
_ports_record_interruption clearly is.

Samuel


Reply to: