Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 17:59:21 -0700
From:      Justin Wojdacki <justin.wojdacki.chiplogic.com@analog.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Shoutcast, high cpu, threads
Message-ID:  <3ADCE6E9.633D8275@chiplogic.com>
References:  <Pine.BSF.4.30.0104170144020.696-100000@shell.inch.com> <20010417235741.A11063@firedrake.org>

next in thread | previous in thread | raw e-mail | index | archive | help
void wrote:
> 
> The man pages say:
> 
>  sleep - suspend process execution for an interval measured in seconds
>  usleep - suspend process execution for an interval measured in microseconds
> 
> Maybe he's using the wrong routine?
> 

The FreeBSD manpages don't appear to comment on this matter, but
usleep() isn't thread safe on all platforms. 

-- 
-------------------------------------------------
Justin Wojdacki        
justin@chiplogic.com               (408) 350-5032
Communications Processors Group -- Analog Devices

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ADCE6E9.633D8275>