KStringHandler: stateless/reentrant/thread-safe?

Thiago Macieira thiago at kde.org
Fri Oct 26 19:42:16 BST 2012

On sexta-feira, 26 de outubro de 2012 20.15.46, Frank Reininghaus wrote:
> KStringHandler [3] say that "The methods here are completely
> stateless", which sounds a bit vague. Does anyone mind if I add "This
> function is reentrant" to the docs of

Isn't that a bit redundant? If it's stateless, it has no state to conflict with 
other threads, so it's thread-safe by definition.

But I'd be in favour of *replacing* the stateless mention with just saying 
that they're thread-safe.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121026/a7d5f207/attachment.sig>

More information about the kde-core-devel mailing list