locking in a device driver

Dinesh Nair dinesh at alphaque.com
Tue Nov 1 07:43:54 PST 2005

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 at alphaque.com                (0 0)    http://www.alphaque.com/
| 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                                                              |

More information about the freebsd-hackers mailing list