Page MenuHomeFreeBSD

kern/kern_thread.c: improve assert in thread_single_end()
ClosedPublic

Authored by kib on Aug 30 2025, 2:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 10:00 AM
Unknown Object (File)
Fri, Oct 10, 3:33 AM
Unknown Object (File)
Fri, Oct 10, 3:33 AM
Unknown Object (File)
Fri, Oct 10, 3:33 AM
Unknown Object (File)
Thu, Oct 9, 10:31 PM
Unknown Object (File)
Fri, Sep 19, 6:42 AM
Unknown Object (File)
Wed, Sep 17, 5:33 AM
Unknown Object (File)
Tue, Sep 16, 9:58 AM
Subscribers

Details

Summary

The process might be stopped, which is handled by the loop that
unsuspends threads. But the condition is not tolerated in the assert,
which insists that all threads must be unsuspended always.

Reported and tested by: pho

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable