Hi ,
Who is responsible for scheduling threads ??programmer by using Threads
API or O.S. ??? in anther word , scheduling in java depend on real time system or depend on threads library or both??
note : i write program in java contain more than one threads and when i run the program the threads excute run method sequentially there is no interleave in the result but when i add sleep the run is interleaved so i hope i get any body explain for me why ???
Thanks a lot
[This message has been edited by Rahul Mahindrakar (edited December 12, 2000).]
Who is responsible for scheduling threads ??programmer by using Threads
API or O.S. ??? in anther word , scheduling in java depend on real time system or depend on threads library or both??
note : i write program in java contain more than one threads and when i run the program the threads excute run method sequentially there is no interleave in the result but when i add sleep the run is interleaved so i hope i get any body explain for me why ???
Thanks a lot
[This message has been edited by Rahul Mahindrakar (edited December 12, 2000).]