Register / Login
Win a copy of
Functional Reactive Programming
this week in the
please suggest how to write test code for this case?
posted 5 years ago
a timing monitor class, below is how to use it:
Monitor.start(String marker); //code blocks Monitor.stop(String marker);
I need to
if there are two threads using the Monitor concurrently, their results wont affect each other.
How do i make a two thread scenario in a unit test?
** SCJP 5.0 84% **
** SCWCD 1.5 76% **
static members initialization and static object references
Kathy, Dan, Shishio, Valentine, get on the subject: Final Word on GC
Non static initialization
Is this small piece of code thread-safe?