From: Scott L. <sl...@sl...> - 2002-12-20 08:02:18
|
Ewald Arnold wrote: > - a "synchronized" method is a threadsafe method and provides some form of > mutual exclusion? Yes. Every Object (and everything derives from object) has a built-in mutex. "synchronized" methods and blocks acquire the mutex on entry and release it on exit. > - Verfier.java contains some parameters of type "Field". What does this mean > and how could one solve this with c++? Hmm, that's using the Java introspection API. C++ doesn't have anything like that. I don't think a verifier for an arbitrary class is possible. You'll need to make each class call verify for each of its verifiable members. Maybe verifiable could take a parameter of a collection to add itself to so this is easier. Scott |