[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Threads and asyncs
From: |
Marius Vollmer |
Subject: |
Re: Threads and asyncs |
Date: |
02 Sep 2002 23:53:23 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Tom Lord <address@hidden> writes:
> > I would like to specify explicitely that marking a system-async will
> > run its thunk in the thread that did the marking.
>
>
> Why can't that be layered?
Hmm, I don't see the need.
> In other words, start with thread-independent asyncs (which have the
> virtue of simplicity and speed) [...]
I don't think they are simpler or faster.
> Is there no use for thread-independent system-asyncs?
I can't think of any, right now. The question is not whether to
execute a async in a thread or not, the question is only, in which
thread. A thread-independent wouldn't care in what thread it is
executed so it is OK to run it in the thread that has marked it.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
- Threads and asyncs, Marius Vollmer, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02
- Re: Threads and asyncs,
Marius Vollmer <=
- Re: Threads and asyncs, Rob Browning, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02
- Re: Threads and asyncs, Lynn Winebarger, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02
- Re: Threads and asyncs, Thomas Bushnell, BSG, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02
- Re: Threads and asyncs, Tom Lord, 2002/09/02