chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] thread-safe handling of asynchronous events


From: felix . winkelmann
Subject: Re: [PATCH] thread-safe handling of asynchronous events
Date: Thu, 06 Jul 2023 21:26:00 +0200

> On Wed, Jul 05, 2023 at 03:28:54PM +0200, felix.winkelmann@bevuta.com wrote:
> > The first patch provides the event-queue mechanism and cleans up the
> > scheduler a bit (hiding internal variables while also exposing ##sys#...
> > procedures to access them). This also defines hooks that a threading
> > API should override to allow suspension/resumption on events.
>
> I'm not super happy with exposing ##sys#fd-list and ##sys#timeout-list as
> a procedure under the exact same name that originally held a list.
> If there's any code that uses it, that would lead to strange errors.
> Might be better to either not expose it at all, or use a completely
> different name.
>

Here new patches for the scheduler and srfi-18 changes, with the exposed
accessors having now lame but concistent names.


felix

Attachment: 0001-add-internal-event-queue-mechanism-and-hooks-for-thr.patch
Description: Text Data

Attachment: srfi-18.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]