Now it is possible to disable threading using "inhibit-yield".
commitc776b1b74b4b57a4e14dc6ca083d749be6cb42dc
authorGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 17 Sep 2009 16:02:09 +0000 (17 18:02 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 17 Sep 2009 16:02:09 +0000 (17 18:02 +0200)
treeebbd6ce39477fc6da4bd26d0b4865c4f7f4d3a3e
parent22d7bc04d7321c6f86789b0db4c4e69e6f0e2f59
Now it is possible to disable threading using "inhibit-yield".

It should be used in a similar way:

  (defmacro with-no-threading (&rest body)
    `(unwind-protect (inhibit-yield nil)
      (progn (inhibit-yield t)
               ,@body)))
src/thread.c