From jianshi.huang at gmail.com Mon Nov 15 02:29:18 2010 From: jianshi.huang at gmail.com (Jianshi Huang) Date: Mon, 15 Nov 2010 11:29:18 +0900 Subject: [cl-json-devel] Is cl-json thread-safe? Message-ID: Hi, I'd like to ask if using `with-local-class-registry' will make the decoder thread-safe, is that correct (and tested)? Cheers, Jianshi From boris.smilga at gmail.com Mon Nov 15 16:44:34 2010 From: boris.smilga at gmail.com (Boris Smilga) Date: Mon, 15 Nov 2010 19:44:34 +0300 Subject: [cl-json-devel] Is cl-json thread-safe? In-Reply-To: References: Message-ID: On Mon, Nov 15, 2010 at 5:29 AM, Jianshi Huang wrote: > I'd like to ask if using `with-local-class-registry' will make the > decoder thread-safe, is that correct (and tested)? It is meant to be thread-safe, indeed (provided that you don't rely on inherently non-thread-safe features of the Lisp substrate, such as the bindedness of certain symbols in user packages). Unfortunately, I did not have the chance to test it thoroughly. Sincerely, - B. Smilga.