http://austingroupbugs.net/view.php?id=1110 … ... how long before @RichFelker comments? :-)
It's a duplicate of my http://austingroupbugs.net/view.php?id=639 which was closed.
-
-
Thanks. I think the dlclose limitation is particularly onerous because error detection involves keeping the old handle forever?
-
I don't see that as onerous at all being that I don't think libraries should ever be unloadable. :-)
-
However I also don't see how such a requirement is imposed. The only diagnostic required is "not currently a valid handle".
-
How do you reliably detect "not currently a valid handle?" It requires inifinite storage or finite handles.
-
No, just comparison with a list of all valid handles.
-
Ah, I see, the wording in the standard doesn't seem to care if an old closed handle eventually cycles back again.
-
So what data structure would you use for this?
-
Linked list & linear search, because things blow up badly with large number of libraries anyway.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.