Re: help on building clisp

Vladimir Tzankov <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAHWYE6L9CdYBmXh8VziOQs37agmsh2vRWgxeMdia_EeCY6A52Q@mail.gmail.com>
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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.