Op 2010-06-21 16:29, Henry Vermaak het geskryf:
> 
> You can create a class that wraps all the json operations, and
> therefore handle concurrency in one place.

Correct, that's one possible solution like I mentioned with the Singleton
design pattern. But this still leaves the door wide open for others to have
this problem because the actual TXXXConfig component doesn't do the
"singleton/concurrency" by itself - and not many developers seem to know
about this issue or know about the Singleton design pattern.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to