[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] make libtcc reentrant
From: |
uso ewin |
Subject: |
Re: [Tinycc-devel] make libtcc reentrant |
Date: |
Thu, 12 Dec 2019 11:32:43 +0100 |
On Wed, Dec 11, 2019 at 2:14 PM Ulrich Schmidt <address@hidden> wrote:
>
> Am 11.12.2019 um 03:58 schrieb grischka:
> >
> > With multi-threading though, the underlying machine tcc code, should
> > account for
> > side effects of the shared execution space, so adds even a tiny bit
> > (and with the
> > best of efforts) of complexity. So that is not quite primitive and it
> > seems like
> > a condradiction with the "direct access to the machine" thing. It's
> > even is a bit
> > of odd, that tcc which is a C compiler, to use "second thoughts" in
> > its C code.
> Noone suggest multitreading. I was talking about makeing libtcc
> reentrant. Maybe i was unclear in the subject line.
>
reentrant mean you can potentially receive an interrupt in the middle
of your compilation, start a now compilation again and it will work,
It's a lot of work for a very small use-case
What it seems you wanted was the ablility to have more than one
TCCState.
I don't think current mob is really reentrant (I didn't test it tough)
but it should work with your use-case.
most reentrant code are multi-thread, so a lot of peoples mix
by mistake reentrant and mullti-thread, I've assume wrongly
that you wanted multy thread support.
- Re: [Tinycc-devel] make tcc reentrant, (continued)
- Re: [Tinycc-devel] make tcc reentrant, grischka, 2019/12/06
- Re: [Tinycc-devel] make tcc reentrant, Christian Jullien, 2019/12/07
- Re: [Tinycc-devel] make tcc reentrant, Michael Matz, 2019/12/09
- Re: [Tinycc-devel] make tcc reentrant, Domingo Alvarez Duarte, 2019/12/09
- Re: [Tinycc-devel] make tcc reentrant, ag, 2019/12/10
- Re: [Tinycc-devel] make tcc reentrant, Forrest Curo, 2019/12/10
- Re: [Tinycc-devel] make tcc reentrant, grischka, 2019/12/10
- Re: [Tinycc-devel] make libtcc reentrant, Ulrich Schmidt, 2019/12/11
- Re: [Tinycc-devel] make libtcc reentrant, grischka, 2019/12/11
- Re: [Tinycc-devel] make libtcc reentrant, Karl Yerkes, 2019/12/11
- Re: [Tinycc-devel] make libtcc reentrant,
uso ewin <=
- Re: [Tinycc-devel] make tcc reentrant, Michael Matz, 2019/12/11
- Re: [Tinycc-devel] make tcc reentrant, uso ewin, 2019/12/12
- Re: [Tinycc-devel] make tcc reentrant, grischka, 2019/12/12
- Re: [Tinycc-devel] make tcc reentrant, Michael Matz, 2019/12/14
- Re: [Tinycc-devel] make tcc reentrant, grischka, 2019/12/16