S
Song Ching Koh
Hi,
Is there anyway to create multiple light-weight process in Java? Or is
there anyway that I could make a program read from a file while
executing something else in the same time?
I tried to create a program that could read data from a file while
analyzing previous data that I fetch before in a multi-threaded
environment. However, I realized that JVM is a single lightweight
process that blocked other threads when one of the thread makes a 'read'
or 'write' call.
Thank you!
Song
Is there anyway to create multiple light-weight process in Java? Or is
there anyway that I could make a program read from a file while
executing something else in the same time?
I tried to create a program that could read data from a file while
analyzing previous data that I fetch before in a multi-threaded
environment. However, I realized that JVM is a single lightweight
process that blocked other threads when one of the thread makes a 'read'
or 'write' call.
Thank you!
Song