From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.lisp.guile.devel Subject: Re: segfault in 1.7.91 Date: Sat, 18 Feb 2006 11:51:48 -0500 Message-ID: References: <20060217111824.GA13802@basalt.office.altlinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140296623 25351 80.91.229.2 (18 Feb 2006 21:03:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 21:03:43 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 18 22:03:41 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FAZEs-0006LY-FK for guile-devel@m.gmane.org; Sat, 18 Feb 2006 22:03:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAZEr-0001gD-DL for guile-devel@m.gmane.org; Sat, 18 Feb 2006 16:03:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FAVLG-0004I3-Cl for guile-devel@gnu.org; Sat, 18 Feb 2006 11:53:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAVLA-0004FS-Tj for guile-devel@gnu.org; Sat, 18 Feb 2006 11:53:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAVL4-0004F0-Dy for guile-devel@gnu.org; Sat, 18 Feb 2006 11:53:44 -0500 Original-Received: from [204.127.200.82] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FAVQf-0000YR-Kb for guile-devel@gnu.org; Sat, 18 Feb 2006 11:59:29 -0500 Original-Received: from raeburn.org (c-65-96-168-237.hsd1.ma.comcast.net[65.96.168.237]) by comcast.net (sccrmhc12) with ESMTP id <2006021816515001200j0rdoe>; Sat, 18 Feb 2006 16:51:50 +0000 Original-Received: from [18.101.0.226] (laptop.raeburn.org [18.101.0.226]) by raeburn.org (8.12.11/8.12.11) with ESMTP id k1IGpnLt028570; Sat, 18 Feb 2006 11:51:49 -0500 (EST) In-Reply-To: <20060217111824.GA13802@basalt.office.altlinux.org> Original-To: Stanislav Ievlev X-Mailer: Apple Mail (2.746.2) 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 Xref: news.gmane.org gmane.lisp.guile.devel:5728 Archived-At: On Feb 17, 2006, at 06:18, Stanislav Ievlev wrote: > Greetings! > > It is unable to call callback from thread in guile extension. Does it work if you use scm_with_guile in that thread, as described in the documentation? (from doc/ref/api-init.texi) Each thread that wants to use functions from the Guile API needs to put itself into guile mode with either @code{scm_with_guile} or @code{scm_init_guile}. The global state of Guile is initialized automatically when the first thread enters guile mode. Ken _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel