I have a few questions about threads and as I don't think my CompSci teacher even knows what a thread is and I don't want to set a new record for downvotes on Stack Overflow I figured I might ask here.
Firstly, what is the most accepted way of transferring data between threads (for example executing a SQL query on a second thread and returning the result to main thread). I know there are many ways of doing this, I am looking for one of the most used and effective ways.
Secondly, if I was...
A few questions about multithreading in Java
Firstly, what is the most accepted way of transferring data between threads (for example executing a SQL query on a second thread and returning the result to main thread). I know there are many ways of doing this, I am looking for one of the most used and effective ways.
Secondly, if I was...
A few questions about multithreading in Java