[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
0001-add-internal-event-queue-mechanism-and-hooks-for-thr.patch
Description: Text Data
srfi-18.diff
Description: Text document
- Re: [PATCH] thread-safe handling of asynchronous events, (continued)
- Re: [PATCH] thread-safe handling of asynchronous events, Peter Bex, 2023/07/06
- Re: [PATCH] thread-safe handling of asynchronous events, felix . winkelmann, 2023/07/06
- [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events), Peter Bex, 2023/07/07
- [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events), felix . winkelmann, 2023/07/07
- [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events), felix . winkelmann, 2023/07/07
- How should we deal with weak refs to finalizable objects? (was: Re: [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events)), Peter Bex, 2023/07/10
- How should we deal with weak refs to finalizable objects? (was: Re: [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events)), felix . winkelmann, 2023/07/10
- How should we deal with weak refs to finalizable objects? (was: Re: [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events)), felix . winkelmann, 2023/07/10
- Re: How should we deal with weak refs to finalizable objects? (was: Re: [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events)), Peter Bex, 2023/07/11
- [PATCH] Bugfix and drop weak references to finalizable objects (was: Re: [PATCH] thread-safe handling of asynchronous events), felix . winkelmann, 2023/07/11
Re: [PATCH] thread-safe handling of asynchronous events,
felix . winkelmann <=
[PATCH] finalizer API (was: thread-safe handling of asynchronous events), felix . winkelmann, 2023/07/07