A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
please suggest how to write test code for this case?
Joined: Nov 15, 2009
Jan 05, 2011 04:45:05
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% **
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: please suggest how to write test code for this case?
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?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015