N
ndxp
I'm kind of confused here -
class A extends Thread {
public void run() {
synchronized (...) {
}
}
}
what may be the use of having a synchronized block in a thread's run
method ? I was under
the impression, that only one thread will access the run method i,e the
current running thread.
-t
class A extends Thread {
public void run() {
synchronized (...) {
}
}
}
what may be the use of having a synchronized block in a thread's run
method ? I was under
the impression, that only one thread will access the run method i,e the
current running thread.
-t