Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Nov 2005 05:44:23 +0800
From:      Dinesh Nair <dinesh@alphaque.com>
To:        Scott Long <scottl@samsco.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: locking in a device driver
Message-ID:  <43693337.3020304@alphaque.com>
In-Reply-To: <43692C86.4040509@samsco.org>
References:  <4361044B.50807@alphaque.com>	<20051027.205250.55834228.imp@bsdimp.com>	<43690424.1040904@alphaque.com>	<20051102.121248.74711520.imp@bsdimp.com> <43692719.90805@alphaque.com> <43692C86.4040509@samsco.org>

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


On 11/03/05 05:15 Scott Long said the following:
> before the ioctl call runs.  But it does work.  Look at the aac(4)
> driver for my example of this.

i will, it sounds like a good solution.

> The other option is to use rfork, aka 'linuxthreads' to similate threads

i could try with linuxthreads, but some calls which are not threadsafe may 
be made by the userland app.

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