From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Concurrency in Emacs Date: Tue, 20 Mar 2012 16:57:22 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1332259067 24683 80.91.229.3 (20 Mar 2012 15:57:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 15:57:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 20 16:57:46 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SA1RR-000589-RG for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2012 16:57:45 +0100 Original-Received: from localhost ([::1]:55003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA1RR-0005bA-9N for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2012 11:57:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA1RF-0005Z8-2E for emacs-devel@gnu.org; Tue, 20 Mar 2012 11:57:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA1R7-0000b2-Mv for emacs-devel@gnu.org; Tue, 20 Mar 2012 11:57:32 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:50690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA1R7-0000ac-Eo for emacs-devel@gnu.org; Tue, 20 Mar 2012 11:57:25 -0400 Original-Received: by obbta14 with SMTP id ta14so105840obb.0 for ; Tue, 20 Mar 2012 08:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hJsqLKGCrbCSmTgsMn+wzr36hMRZMEQz38Ne87yiQWQ=; b=pZv55wqPoTntVZ7iL3Wc9dPK1DRY/hANTSztKSz3zQvsAFzHTbEw9c1AbT6mKsgZqT ld6Ck/ZHkbBcQgEPAM8XZeWnqmovM+2JTlLQUYKTfrDCuFF7ObqsPzd+XJ5UqJPmzJpZ YpnjFHmQ6cKjJkHRe4eGHKa+gI9BgnEJfpXl1h+gZe0bYRo0L91G6RnN2/dE21zmTr/T T3lVb3Nqeooi58LNNE1gRzFKbtXnzyFx2W4zRSxMg5dEuaX9oEyy8eHuwBFP+nTOdXJG F2vUfODe3+dy1+kGa81ai9W9JVOzybfamEAQ+f/zU4hlWPJFA9XVG7XTnRNY48y1Z68P tVtA== Original-Received: by 10.182.51.73 with SMTP id i9mr542954obo.17.1332259042548; Tue, 20 Mar 2012 08:57:22 -0700 (PDT) Original-Received: by 10.182.179.42 with HTTP; Tue, 20 Mar 2012 08:57:22 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: u0vIpWLQBYTbpYPwvCDdkG3WMik X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149143 Archived-At: I don't know if it was mentioned in previous posts but the support for threads in the C implementation of Emacs can be a lot easier with coccinelle[1]. Coccinelle is a tool that generates diff files for an entire source tree based a semantic rules. Think of it as a _really smart_ sed with operators and constructs for C. It's already used in the linux kernel so it's production ready. 1: http://coccinelle.lip6.fr Tutorial: http://home.regit.org/technical-articles/coccinelle-for-the-newbie/