]> git.eshelyaron.com Git - dict.git/commit
ADDED: new command for signaling Prolog top-level threads
authorEshel Yaron <me@eshelyaron.com>
Tue, 4 Oct 2022 09:33:08 +0000 (12:33 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Oct 2022 19:56:15 +0000 (22:56 +0300)
commit77846f044122520f4e6c97fd8c48294280e71311
tree7088da2dc5a90ffaf7365837ba2118df48cfb17f
parentf40dcff15579df30b4c637463f13957f2cb191aa
ADDED: new command for signaling Prolog top-level threads

* sweep.pl: sweep_thread_signal/2: new predicate.

* sweeprolog.el:
- sweeprolog-signal-thread: new function, Elisp interface for
sweep_thread_signal/2.
- sweeprolog-top-level-thread-id: new buffer-local variable in
sweeprolog-top-level buffers.
- sweeprolog-top-level-signal: new command.
- sweeprolog-top-level-mode: signal top-level thread with
thread_exit/1 when buffer is killed.
sweep.pl
sweeprolog.el