Re: Using define in multiple threads?

2008-11-17 Thread Andy Wingo
Hello! On Mon 17 Nov 2008 15:57, [EMAIL PROTECTED] (Ludovic Courtès) writes: > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> Linas Vepstas escreveu: >>> Is it "safe" or "legal" to use define in multiple threads? > > Besides, as Linas noted, the hash table implementation isn't > thread-safe, w

Re: Using define in multiple threads?

2008-11-17 Thread Ludovic Courtès
Hey! Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Linas Vepstas escreveu: >> Is it "safe" or "legal" to use define in multiple threads? > > I guess not. Someone -I forgot who- put in the pthreads without thinking > through the consequences. > > Look through eval.c, you´ll see > > SCM_SETCAR

Re: Using define in multiple threads?

2008-11-17 Thread Han-Wen Nienhuys
Linas Vepstas escreveu: > Is it "safe" or "legal" to use define in multiple threads? I guess not. Someone -I forgot who- put in the pthreads without thinking through the consequences. Look through eval.c, you´ll see SCM_SETCAR (expr, SCM_IM_DO); // * SCM_SETCDR (expr, tail); which is ve