From owner-cvs-ports@FreeBSD.ORG Tue Aug 1 20:12:19 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDB1F16A4DE; Tue, 1 Aug 2006 20:12:19 +0000 (UTC) (envelope-from sat@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B10743D4C; Tue, 1 Aug 2006 20:12:19 +0000 (GMT) (envelope-from sat@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k71KCJBW037199; Tue, 1 Aug 2006 20:12:19 GMT (envelope-from sat@repoman.freebsd.org) Received: (from sat@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k71KCJba037198; Tue, 1 Aug 2006 20:12:19 GMT (envelope-from sat) Message-Id: <200608012012.k71KCJba037198@repoman.freebsd.org> From: Andrew Pantyukhin Date: Tue, 1 Aug 2006 20:12:19 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-Linux-Pid Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 20:12:20 -0000 sat 2006-08-01 20:12:19 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Linux-Pid Makefile distinfo pkg-descr pkg-plist Log: Add port devel/p5-Linux-Pid: Why should one use a module to get the PID and the PPID of a process where there are the $$ variable and the getppid() builtin? (Not mentioning the equivalent POSIX::getpid() and POSIX::getppid() functions.) In fact, this is useful on Linux, with multithreaded programs. Linux' C library, using the linux thread model, returns different values of the PID and the PPID from different threads. (Other thread models such as NPTL don't have the same behaviour). This module forces perl to call the underlying C functions getpid() and getppid(). WWW: http://search.cpan.org/dist/Linux-Pid/ Revision Changes Path 1.2378 +1 -0 ports/devel/Makefile 1.1 +21 -0 ports/devel/p5-Linux-Pid/Makefile (new) 1.1 +3 -0 ports/devel/p5-Linux-Pid/distinfo (new) 1.1 +12 -0 ports/devel/p5-Linux-Pid/pkg-descr (new) 1.1 +7 -0 ports/devel/p5-Linux-Pid/pkg-plist (new)