Skip to content

Conversation

@Freax13
Copy link
Owner

@Freax13 Freax13 commented Nov 30, 2025

No description provided.

Very soon, we'll have a type that extracts the Arc<Thread>.
The signalfd implementation will use this.
We'll replace the process field next, but the accessor function will
remain.
We'll need direct access to the Arc in some of the folllowing patches.
Instead of two functions (one of which just signals whether the other
is available), use a single function that returns a Result.
One big advantage of the new interface is that the returned object can
contain some additional information.
We'll use this for signalfd to store the thread that registered the fd.
Closing a socket while its read half still has data causes the
connection to be reset. This changes the error returned on the other
side of the connection when there's no more data.
…rupt

Code in timer interrupts may not allocate and may only take locks that
disable timer interrupts.
It turns out that there is a file descriptor type, signalfd, whose
readiness depends on which thread is polling it.
@Freax13 Freax13 force-pushed the feature/signalfd branch 3 times, most recently from d029ed1 to 26bbefe Compare November 30, 2025 16:59
The main table might not have routes, but the local table usually does.
This is an alternative for operations that might seem like they're
ready, but don't actually return yet e.g. receive operations with
WAITALL.
The ell tests add coverage for signalfd, epoll, and netlink.
This only worked if StartNextAp was called by all APs in order. It's a
miracle this didn't break earlier.
I'm guessing this can happen because the align_up make it too big.
@Freax13 Freax13 merged commit 1a03b88 into main Nov 30, 2025
86 checks passed
@Freax13 Freax13 deleted the feature/signalfd branch November 30, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants