From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: Critical section review Date: Wed, 23 Mar 2005 10:02:35 +0100 Message-ID: <66e540fe050323010240b4da11@mail.gmail.com> References: <424125C0.7000407@ossau.uklinux.net> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111569464 9575 80.91.229.2 (23 Mar 2005 09:17:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2005 09:17:44 +0000 (UTC) Cc: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 23 10:17:44 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DE1zh-0000cM-1u for guile-devel@m.gmane.org; Wed, 23 Mar 2005 10:17:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DE2H9-0000fi-7f for guile-devel@m.gmane.org; Wed, 23 Mar 2005 04:35:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DE20Q-0004Ot-Ih for guile-devel@gnu.org; Wed, 23 Mar 2005 04:18:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DE20J-0004MP-8k for guile-devel@gnu.org; Wed, 23 Mar 2005 04:18:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DE20G-0004CW-8g for guile-devel@gnu.org; Wed, 23 Mar 2005 04:18:16 -0500 Original-Received: from [64.233.170.206] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DE1l5-0007Bk-CZ for guile-devel@gnu.org; Wed, 23 Mar 2005 04:02:35 -0500 Original-Received: by rproxy.gmail.com with SMTP id y7so124748rne for ; Wed, 23 Mar 2005 01:02:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=k1ZPtZImDlAdNrma54mqEuTcYA8KRC4YT1vnqNCVezgNa+icrAps0QyU3ZZpAuNqLvw8LTBIcPRk4MdZ1ficLmLZZsZL23sGxkfLbNCbI8D3ddvXkVCfz1oHCTD1SdCGrWiBPnjKmfnhXqrFiu/YqOs0ZrdG8ARiIESQe9ybJyk= Original-Received: by 10.39.2.36 with SMTP id e36mr36819rni; Wed, 23 Mar 2005 01:02:35 -0800 (PST) Original-Received: by 10.38.104.39 with HTTP; Wed, 23 Mar 2005 01:02:35 -0800 (PST) Original-To: Neil Jerram In-Reply-To: <424125C0.7000407@ossau.uklinux.net> X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org X-MailScanner-To: guile-devel@m.gmane.org Xref: news.gmane.org gmane.lisp.guile.devel:4864 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4864 On Wed, 23 Mar 2005 08:16:00 +0000, Neil Jerram wrote: > OK, to get the ball rolling and fill in my understanding: > scm_make_memoized() in debug.c has: > > SCM_CRITICAL_SECTION_START; > SCM_NEWSMOB (z, SCM_UNPACK (exp), SCM_UNPACK (env)); > SCM_NEWSMOB (ans, scm_tc16_memoized, SCM_UNPACK (z)); > SCM_CRITICAL_SECTION_END; In addition, the first call to SCM_NEWSMOB is obviously bogus. It should be a call to scm_cons. M _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel