LWN.net Logo

libabc: a demonstration library for kernel developers

libabc: a demonstration library for kernel developers

Posted Nov 3, 2011 21:55 UTC (Thu) by nix (subscriber, #2304)
In reply to: libabc: a demonstration library for kernel developers by aliguori
Parent article: libabc: a demonstration library for kernel developers

I'd say that you can use global variables even in something supporting unlimited numbers of contexts, but if you do they should be threadsafe, not just thread-agnostic. (This is sometimes useful for cross-context caching and the like.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds