[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return value of finished threads
From: |
Eli Zaretskii |
Subject: |
Re: Return value of finished threads |
Date: |
Fri, 20 Jul 2018 20:25:13 +0300 |
> From: Clément Pit-Claudel <address@hidden>
> Date: Fri, 20 Jul 2018 12:17:04 -0400
>
> On the ELisp side, I wonder if it'd make sense to attach a plist to each
> thread. With this you would do (thread-put t 'result (returned value)) from
> the thread, and on the waiting side you'd run thread-join before accessing
> the result with (thread-get t 'result)
When the thread function returns, the thread is dead, and I'm not sure
we should encourage using plists of dead threads.
- Return value of finished threads, Michael Albinus, 2018/07/20
- Re: Return value of finished threads, Noam Postavsky, 2018/07/20
- Re: Return value of finished threads, Tom Tromey, 2018/07/20
- Re: Return value of finished threads, Michael Albinus, 2018/07/21
- Re: Return value of finished threads, Tom Tromey, 2018/07/21
- Re: Return value of finished threads, Michael Albinus, 2018/07/21
- Re: Return value of finished threads, Tom Tromey, 2018/07/21
- Re: Return value of finished threads, Michael Albinus, 2018/07/21
- Re: Return value of finished threads, Tom Tromey, 2018/07/21