On Mon, Jan 24, 2005 at 11:31:04PM -0600, Terence Ripperda wrote: > this is probably a stupid question, but how are weak references > used?
the linker sets them to zero, so "if (foo) { ... }" works nicely it does mean if a module that set foo to non-zero is loaded, we need to zero it again when it's unloaded or else we have stale bogus pointers left around - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/