[AGENT++] MT-safety of get_printable() -- yet another approach
maom_onet at poczta.onet.pl
maom_onet at poczta.onet.pl
Sun Jan 16 22:37:27 CET 2005
U�ytkownik Jochen Katz <katz at agentpp.com> napisa�:
>Hi all,
>
>at first I will modify all get_printable() functions to the behaviour of
>the Address classes: only modify the buffer if the object was changed.
>
>The possible next step (maybe more comments on the list will change
>this) would be to add a real in-any-case mt-safe get_printable() function.
>
Glad to hear this!
I think that at least 'const' member functions should together compose an MT-safe interface (that is, I believe it would be sufficient to guarantee MT-safety when an object is not modified).
Marek
More information about the AGENTPP
mailing list