Hi,
If an application had multiple threads and one of them tried to make a network call to access a CD drive. Normally such an operation would take a couple of seconds. Do the other threads keep working or do they hang because of this?
As I understand, standard
Java threads are simulations of multi-processes not actual OS processes. Each
thread runs in a context of one main thread controlling the JVM. The OS sees that the JVM thread made a call and decides to put it to wait till it gets a response. I guess unless the threads were mapped to actual OS processes using p-threads or green threads, they should hang.
Is this reasoning correct?
Thanks Praveen.