From owner-cvs-all@FreeBSD.ORG Thu Jul 3 06:36:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C21637B401; Thu, 3 Jul 2003 06:36:30 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3248144003; Thu, 3 Jul 2003 06:36:30 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h63DaT0U060538; Thu, 3 Jul 2003 06:36:29 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h63DaT2n060537; Thu, 3 Jul 2003 06:36:29 -0700 (PDT) Message-Id: <200307031336.h63DaT2n060537@repoman.freebsd.org> From: David Xu Date: Thu, 3 Jul 2003 06:36:29 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_select.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 13:36:31 -0000 davidxu 2003/07/03 06:36:29 PDT FreeBSD src repository Modified files: lib/libpthread/thread thr_select.c Log: If select() is only used for sleep, convert it to nanosleep, it only need purely wait in user space. Revision Changes Path 1.25 +9 -4 src/lib/libpthread/thread/thr_select.c