Greetings,
This will be my first use of a multithreading application. I am attempting to create an application that will have a GUI for user input and configuration, communicate with a PLC via DDE or OPC communication, and communicate with a printer via serial communication.
For the PLC:
I will need to maintain a heartbeat (change a bit in the PLC every few seconds and wait up to 30 seconds to see it change back)....
Search Result
Collapse
3 results in 0.0048 seconds.
Keywords
Members
Tags
-
Is multithreading the way to go?
-
Are Threads Finished?
for(int i=1;i<mainNotaL ist.size()+1;i+ +)
{
Thread currentThread=n ew Thread(porteImg s[i].getNotam().get SoundLayer());
porteImgs[i].activate();
porteImgs[i].repaint();
currentThread.s tart();
try {
currentThread.j oin();
} catch (InterruptedExc eption ex) {
Logger.getLogge r(Ney1View.clas s.getName()).lo g(Level.SEVERE,... -
Wcf Service Multithread
Hy,
I have a Wcf service tat receives files from clients.
The contract:
Code:#region ServiceContract [ServiceContract] public interface IWcfService { [OperationContract(AsyncPattern = true)] IAsyncResult BeginSendFile(UploadFile file, AsyncCallback callback, object state); FileTransfered EndSendFile(IAsyncResult ar);