MTX_DEF versus MTX_SPIN

Julian Elischer julian at freebsd.org
Wed Nov 3 22:02:20 UTC 2010


On 11/3/10 2:56 PM, Rick Macklem wrote:
>>> Is there any documentation on best practices for writing a FreeBSD
>>> driver?
>> Not really. :-/
>>
> Just a dumb obvious suggestion. Imho, there is no better doc. than some
> well written code, so maybe someone familiar with the drivers can suggest
> one (or two) that they consider well written and use the current conventions
> as "examples"?

we try every now and then to put good examples in /usr/share/examples
but I think what's there is hopelessly out of date.

> rick, who never trusts documentation anyhow;-)
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>



More information about the freebsd-current mailing list