Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 09:53:35 -0500 
From:      "Yevmenkin, Maksim N, CSCIO" <myevmenkin@att.com>
To:        "'Titus von Boxberg'" <tboxberg@schuett-elektronik.de>, Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: Pthread blocking I/O
Message-ID:  <E598F159668DD311B9C700902799EAF44733A6@njb140po01.ems.att.com>

next in thread | raw e-mail | index | archive | help
[...]
 
> What's the reason for locking the file descriptors
> for *all* system calls? especially those I mentioned?
> 
> Where is pthread_cancel() ?

are you using -stable (3.x)? there is no ``pthread_cancel'' in -stable.
use -current. 

or
	- use other threads library
	- use non-blocking read
	- use select/poll with timeout

man pthread and see /usr/src/lib/libc_r/uthread
for details.

thanks,
emax


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?E598F159668DD311B9C700902799EAF44733A6>