From: Vladimir T. <vtz...@gm...> - 2014-03-11 20:36:17
|
Hey Shashank, Thanks for interest in clisp. > $ ./configure --with-threads=POSIX_THREADS This is the normal way to configure clisp with threads. > Later, the execution of `make` and `make check` commands also occurs > successfully (with huge amount of execution steps being flushed out on the > terminal). `make` should build successfully clisp. `make check` usually segfaults in multi thread builds (you were lucky) mostly due to non thread safe hash tables. > Can you guide me as to how I shall proceed in this regard. Also, how and > where the CLISP hash table implementation is used, which in turn should be > replaced by a lock-free implementation. The hash table implementation is located in src/hashtabl.d. Hash tables are used in both lisp and c code - to get an impression do simple grep for: make-hash-table (and make_hash_table), gethash, etc. I would recommend you to get common with clisp internals - http://clisp.org/impnotes/internals.html is a good start. Vlad |