¿¹Á¦
public
static
class
ClassA {
Condition c;
public
void
methodA {
try
{
c.wait();
}
catch
( Exception e ) {
//...
}
}
}
¼Ö·ç¼Ç
wait()¸¦ await()·Î ¹Ù²Ù½Ê½Ã¿À.
public
static
class
ClassA {
Condition c;
public
void
methodA {
try
{
c.await();
}
catch
( Exception e ) {
//...
}
}
}