Hi Marc,

Marc Lörner wrote:

[snip]
>
> BTW, you can get an thread-struct pointer from curthread (c.f. sys/pcpu.h).
>
[snip]


Thanks very much for the reply.

"curthread" is the missing key that I've been looking for! Thank you so much. I've been banging my head against a brick wall for days now.

I'll have a play around and report back to the list what I find for archival purposes.

Cheers,
Lawrence

PS Just found a thread I hadn't found before (http://lists.freebsd.org/pipermail/freebsd-hackers/2006-March/015647.html) which has lots of useful info and a link (http://people.freebsd.org/~pjd/misc/kernio/) to some sample code!


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

Reply via email to