From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
=
> The reason I love Haskell for its STM concurrency (software transactio= nal
> memory) is that it makes certain classes of problems impossible to exp= ress. I
> believe we would need a mechanism like that for Emacs Lisp, so no one = ever has
> to hunt down cyclic mutex locks, or reference counts, or why two opera= tions
> that should be atomic aren't. I'd rather have a single-threade= d Emacs for a
> quite a while longer before inviting these sorts problems into our liv= es.
But we don't even know whether these problems are relevant to what Tom<= br class=3D"gmail_msg"> implemented in the concurrency branch.
We've gone a long way since this issue was first brought up.=C2=A0 We= 39;ve
changed our sources in significant ways to support concurrency: all
those BVAR and KVAR macros that are all around the C sources were
introduced for that very purpose.=C2=A0 Likewise, the globals.h header
file, and the fact that each variable exposed to Lisp is a member of
some C struct -- all this was for supporting concurrency.=C2=A0 The code
for this is written, debugged, and is only a little ways from being
ready for prime time.