From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Killing off scm_init_guile for Guile 2.0 ? Date: Fri, 23 Jan 2009 01:44:15 +0000 Message-ID: <49dd78620901221744k104bafe7h844d050d6a8e6cc7@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232675070 32056 80.91.229.12 (23 Jan 2009 01:44:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 01:44:30 +0000 (UTC) Cc: guile-user@gnu.org To: "Kjetil S. Matheussen" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jan 23 02:45:43 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQB78-0001NL-4M for guile-user@m.gmane.org; Fri, 23 Jan 2009 02:45:42 +0100 Original-Received: from localhost ([127.0.0.1]:58020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQB5q-0007ot-MF for guile-user@m.gmane.org; Thu, 22 Jan 2009 20:44:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQB5l-0007oe-Tp for guile-user@gnu.org; Thu, 22 Jan 2009 20:44:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQB5k-0007oS-HO for guile-user@gnu.org; Thu, 22 Jan 2009 20:44:16 -0500 Original-Received: from [199.232.76.173] (port=50646 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQB5k-0007oP-BE for guile-user@gnu.org; Thu, 22 Jan 2009 20:44:16 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.155]:46501) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQB5j-0008Ey-VT for guile-user@gnu.org; Thu, 22 Jan 2009 20:44:16 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so2458681fgb.30 for ; Thu, 22 Jan 2009 17:44:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UFaa5d5gORwQtshvbsUUPqKRuM9kjZ9uwGpUkIfy3v8=; b=F4FejwBjgP7RaPFVcM4LWXb6LnmQiZKJoKXy9iVJtfHTVcqoNKoByfR+86WSKUWG3Q cvWG58DDBmCTG/gx3+gziAsdQmzQyx1bW6wrNVhCjBo0v6T1Wx3uFPd8SXQc72UTjrFR epZAbeFabhfPzU15uoi0BBoU+bVJzGyG7DWKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=F+WXUAHbIAGkrXwoYSgIOinjLob4Ul3yJU19kqQM9Kr7oQQnEMkGwkTOtxwCJ/pEBo rBO98yl3M1Z4R5e6+4XGNM0mhvt6I0WXDqKGkVSvqQpKGShEvfDaJP9diIKZqhIxura3 L3xEIK02u+LV3hIYU/dc8kMhsBw0PfDZ7DUHc= Original-Received: by 10.86.91.12 with SMTP id o12mr817423fgb.16.1232675055074; Thu, 22 Jan 2009 17:44:15 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7083 Archived-At: 2009/1/16 Kjetil S. Matheussen : > > Snd uses scm_init_guile when compiled as a Pd external. > Pd is a graphical programming language for audio processing, > and "externals" are linked into the program during runtime. > > When Snd is a Pd external, it has to run Guile in a separate > thread, so that it won't interrupt sound processing. > > Is there an alternative to using scm_init_guile() for this > kind of usage? Yes: just use scm_with_guile() at all the entry points into libguile-land. Would that be possible? Regards, Neil