Wednesday, May 24, 2006

Basics of Thread

1). Threads operate on their on own copies of instance variables.
2). In synchronized methods wait() causes the thread to give up the monitor.
3). If the reference to the thread is set to null, thread doesn't stops executing.
4). In synchronized methods yield() and sleep() doesn't causes the thread to give up the monitor.

0 Comments:

Post a Comment

<< Home