Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Nov 2005 20:35:45 +0800
From:      Dinesh Nair <dinesh@alphaque.com>
To:        Dinesh Nair <dinesh@alphaque.com>
Cc:        freebsd-hackers@freebsd.org, scottl@samsco.org
Subject:   Re: locking in a device driver
Message-ID:  <43676121.4030801@alphaque.com>
In-Reply-To: <4361E3E0.4090409@alphaque.com>
References:  <4360B8EE.4070605@alphaque.com>	<4360DD7B.20900@samsco.org>	<4361044B.50807@alphaque.com> <20051027.205250.55834228.imp@bsdimp.com> <4361E3E0.4090409@alphaque.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 10/28/05 16:40 Dinesh Nair said the following:
> 
> 
> On 10/28/05 10:52 M. Warner Losh said the following:
> 
>> libc_r will block all other threads in the application while an ioctl
>> executes.  libpthread and libthr won't.  I've had several bugs at work
> 
> 
> which is a Good Thing(tm) indeed for me on 4.x.

which may not be a Good Thing(tm) after all. this could be causing the 
problem i'm seeing with the driver on 4.x. any methods to get around this, 
short of not using threads ?

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh@alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



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