Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 09:44:52 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        David Xu <davidxu@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libpthread/thread thr_select.c
Message-ID:  <20030703164452.GN64896@elvis.mu.org>
In-Reply-To: <200307031336.h63DaT2n060537@repoman.freebsd.org>
References:  <200307031336.h63DaT2n060537@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* David Xu <davidxu@FreeBSD.org> [030703 06:36] wrote:
> 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.

Cool optimization!

-Alfred



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703164452.GN64896>