]> git.eshelyaron.com Git - emacs.git/commit
This supplies the mutex implementation for Emacs Lisp.
authorTom Tromey <tromey@redhat.com>
Wed, 15 Aug 2012 19:11:22 +0000 (13:11 -0600)
committerTom Tromey <tromey@redhat.com>
Wed, 15 Aug 2012 19:11:22 +0000 (13:11 -0600)
commit51100bb8d36f68842ab55fd0501af56dfc58cc51
tree6c94b7f893304276b43c57bd12eff92d914a7cd2
parent1dcacbc64721b1a4de58aa36460b0a39e766be63
This supplies the mutex implementation for Emacs Lisp.

A lisp mutex is implemented using a condition variable, so that we can
interrupt a mutex-lock operation by calling thread-signal on the
blocking thread.  I did things this way because pthread_mutex_lock
can't readily be interrupted.
src/alloc.c
src/data.c
src/lisp.h
src/print.c
src/thread.c
src/thread.h