[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about throw-on-input
From: |
Eli Zaretskii |
Subject: |
Re: Questions about throw-on-input |
Date: |
Tue, 12 May 2020 17:37:08 +0300 |
> Cc: address@hidden, address@hidden, address@hidden
> From: Daniel Colascione <address@hidden>
> Date: Mon, 11 May 2020 19:39:33 -0700
>
> > And while we are on the topic of threads, I wonder what is the
> > maintainers' opinion on https://nullprogram.com/blog/2018/05/31/,
> > specifically this part:
> >
> > > Update: ThreadSanitizer (TSan) quickly shows that Emacs’ threading
> > > implementation has many data races, making it completely
> > > untrustworthy. Until this is fixed, nobody should use Emacs threads
> > > for any purpose, and threads should disabled at compile time.
>
> Is TSan is just getting confused by the global lock? We don't have any
> parallelism, so data races shouldn't be happening at all.
There doesn't seem to be any detailed description of the races it
uncovered, so it could well be that this is a red herring.
I do know about some racy conditions where we release the GIL and
select the next thread to run, but I'm cannot be sure they are the
same ones this blog is talking about.
- Re: Questions about throw-on-input, (continued)
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, yyoncho, 2020/05/15
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/15
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/15
- Re: Questions about throw-on-input, Philipp Stephani, 2020/05/15
- Re: Questions about throw-on-input, Andrea Corallo, 2020/05/15
- Re: Questions about throw-on-input, Arthur Miller, 2020/05/15
- Re: Questions about throw-on-input, chad, 2020/05/15
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/16
- Re: Questions about throw-on-input, Daniel Colascione, 2020/05/11
- Re: Questions about throw-on-input,
Eli Zaretskii <=