In message: <[EMAIL PROTECTED]>
            Dinesh Nair <[EMAIL PROTECTED]> writes:
: the userland application uses pthreads, and works like a charm both on 4.x 
: and 5.x without using the device. however, when the device is used, it 
: somehow has synchronization errors on 4.x, leading to timers (created in 
: the userland app) timing out and the like.

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
that can be traced to faulty drivers and/or faulty APIs that were
specified by people who were unaware of this issue...

Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to