[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: try-this-for ?
From: |
tomas |
Subject: |
Re: try-this-for ? |
Date: |
Thu, 18 Jan 2018 14:16:40 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Jan 18, 2018 at 01:59:17PM +0100, Emanuel Berg wrote:
> tomas wrote:
>
> >> True concurrency isn't possible even for
> >> multicore architectures IIUC.
> >
> > To a certain extent yes: the processors/cores
> > have to cooperate to access common resources
> > (e.g. memory), but as long as they are
> > operating e.g. from local cache they do run
> > in parallel.
>
> Yes, but I meant with respect to Emacs, can one
> have, for example
>
> (let*((value-one (compute it)) ; on CPU1
> (value-two (compute it)) )) ; on CPU2
>
> execute in parallel?
No, but see threads: they *can* execute on different CPUs
(whether Emacs will give you control over that is another
question; moreover it's a pretty new feature anyway).
> > central event loop
>
> Is this the KERNEL?
No, I was talkint about Emacs input queue.
> > to "keep running", you have to explicitly
[...]
> The problem with yielding is it won't work to
> interrupt something that has put Emacs into
> a hanged state...
That's true about most programs out there.
Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlpgnjgACgkQBcgs9XrR2ka8RgCdFeu2XIJvDaOMwyIGsUWD2Tn+
H50An3aXGw2SOr1o1mk6/uUbsUwwdEu7
=I0xt
-----END PGP SIGNATURE-----
- Re: try-this-for ?, (continued)
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/17
- Re: try-this-for ?, tomas, 2018/01/18
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/18
- Re: try-this-for ?, Emanuel Berg, 2018/01/18
- Re: try-this-for ?, Emanuel Berg, 2018/01/18
- Re: try-this-for ?, tomas, 2018/01/18
- Re: try-this-for ?, Eli Zaretskii, 2018/01/18
- Re: try-this-for ?, tomas, 2018/01/18
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/18
- Re: try-this-for ?,
tomas <=
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/18
- Re: try-this-for ?, tomas, 2018/01/19
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/19
- Re: try-this-for ?, tomas, 2018/01/19
- Message not available
- Re: try-this-for ?, Emanuel Berg, 2018/01/19
- Re: try-this-for ?, tomas, 2018/01/19