From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: implement Solaris support for system-process-attributes and list-system-processes Date: Fri, 19 Dec 2008 17:48:59 +0900 Message-ID: References: <200812180916.mBI9GJtr012310@mothra.ics.uci.edu> <200812190745.mBJ7jWVe015085@mothra.ics.uci.edu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229676675 25621 80.91.229.12 (19 Dec 2008 08:51:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2008 08:51:15 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 09:52:22 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LDb5q-0002wz-2t for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 09:52:22 +0100 Original-Received: from localhost ([127.0.0.1]:50763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDb4d-0002Dy-Ln for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 03:51:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDb2o-0001Zv-9W for emacs-devel@gnu.org; Fri, 19 Dec 2008 03:49:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDb2m-0001Yo-Ij for emacs-devel@gnu.org; Fri, 19 Dec 2008 03:49:13 -0500 Original-Received: from [199.232.76.173] (port=43870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDb2m-0001Yf-9R for emacs-devel@gnu.org; Fri, 19 Dec 2008 03:49:12 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:49930) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDb2h-0003t6-Lx; Fri, 19 Dec 2008 03:49:08 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id mBJ8mxas000133; Fri, 19 Dec 2008 17:49:01 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay11.aps.necel.com with ESMTP; Fri, 19 Dec 2008 17:49:01 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.113.195] [10.114.113.195]) by relay21.aps.necel.com with ESMTP; Fri, 19 Dec 2008 17:49:01 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id A49AA4E; Fri, 19 Dec 2008 17:49:00 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200812190745.mBJ7jWVe015085@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 18 Dec 2008 23:45:32 -0800 (PST)") Original-Lines: 22 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107061 Archived-At: Dan Nicolaescu writes: > How does this sound: > - move the procfs_list_system_processes and procfs_system_process_attributes to sysdep.c > - remove the procfs_ prefix > - add the proper #defines (HAVE_PROCFS can probably be used by a few OSes) > - the default implementations just return Qnil > - make Fsystem_process_attributes and Flist_system_processes just call > list_system_processes and system_process_attributes > - rename the w32 versions to system_process_attributes and list_system_processes > - remove the PROCATTR and LISTPROC macros > ? ... and while you're at it, rename Fsystem_process_attributes to "Fprocess_attributes" and make it also accept emacs process objects as an argument, ala signal-process. -Miles -- "Suppose He doesn't give a shit? Suppose there is a God but He just doesn't give a shit?" [George Carlin]