From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: filenotify.el Date: Wed, 26 Jun 2013 18:57:44 +0300 Message-ID: <83li5whnk7.fsf@gnu.org> References: <87d2ra9z4x.fsf@gmx.de> <1383316.4Bc292dOgY@descartes> <87vc52yq04.fsf@gmx.de> <87a9md2y0e.fsf@gmx.de> <87d2r9vtze.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1372262300 24103 80.91.229.3 (26 Jun 2013 15:58:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 15:58:20 +0000 (UTC) Cc: ruediger@c-plusplus.de, michael.albinus@gmx.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 26 17:58:19 2013 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 1Urs6l-0001Vh-N4 for ged-emacs-devel@m.gmane.org; Wed, 26 Jun 2013 17:58:11 +0200 Original-Received: from localhost ([::1]:59792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urs6l-0002AR-Ep for ged-emacs-devel@m.gmane.org; Wed, 26 Jun 2013 11:58:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urs6g-00029P-E0 for emacs-devel@gnu.org; Wed, 26 Jun 2013 11:58:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Urs6f-0003c9-4E for emacs-devel@gnu.org; Wed, 26 Jun 2013 11:58:06 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:41654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urs6e-0003bw-SA for emacs-devel@gnu.org; Wed, 26 Jun 2013 11:58:05 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MP000C00BM13X00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Wed, 26 Jun 2013 18:57:53 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP000CP2CCE5I00@a-mtaout21.012.net.il>; Wed, 26 Jun 2013 18:57:50 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.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:161100 Archived-At: > From: Stefan Monnier > Date: Wed, 26 Jun 2013 10:28:24 -0400 > Cc: R=FCdiger Sonderfeld , > =09emacs-devel@gnu.org >=20 > > Imagine there are two registered watchers: > > (gfile-add-watch "/tmp" flags1 'callback1) > > (inotify-add-watch "/tmp" flags2 'callback2) > > Both return the same descriptor, let's say 1. What would you call= , when > > there is an incoming event (1 flag "123") for the file "/tmp/123"= ? >=20 > Who's "you"? IIUC it's the C code No. C code just pushes an event onto the event queue. The rest is done in Lisp.