blah blah blah is here! blah blah » Close

0
votes
0 answers

Displaying pictures in popup windows using threads

I have a program that fetches images from a folder and displays them in a pop-up window. The problem is that if there a few images in the folder the program doesn't respond until all images are done. I would like to use threads so that I ca ...

0
votes
1 answers

best practice for use of threads with thread safe data exchange, end signal and exception handling

Hi I am only a lower intermediate user of C# and want to use threads in a way, that is proper and proved as best practices (no deadlocks, read-modify-write and other collisions, that occur in badly designed multithreaded systems - at ...

0
votes
2 answers

passing an object(linq) to a thread

hi, I have a linq query which fetches a collection of datas. I want to do some functionality with each collection of data. I am not getting how to pass var object to a thread. My linq to xml query looks like this: XDocument readStorel ...

0
votes
1 answers

Serial Device Communications application design

Hi guys, I have been tasked with writing a small application that interfaces with a serial device. I have managed to create my communication wrapper which basically handles all the comms between the application and the device. So, it has ...

0
votes
1 answers

Thread power

muster
1556

Hey all. I have a question about threading. I tried an example on windows form. The example was as follows: I made a delegate in the main thread of the program where in the main loop i invoked a delegate called FrameUpdate after Application ...

1
votes
4 answers

Multithreading in a console application

I'm writing a console application basically as a batch media encoder, which is acting as a "front-end" to various encoding tools. I already have classes which read an encoding "queue" from an XML file, and produce the ne ...

1
votes
1 answers

Using Timer or Thread

I have a little knowledge about thread but know nothing about using Timer in .NET Can anyone give some tips about what it is, and when it's used?

Feedback