Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: A design decision - how to instantiate and call BLL classes? Pin
led mike30-Jul-08 6:43
led mike30-Jul-08 6:43 
QuestionC# Topmost without focus Pin
Zocrates29-Jul-08 6:00
Zocrates29-Jul-08 6:00 
AnswerRe: C# Topmost without focus Pin
led mike29-Jul-08 7:27
led mike29-Jul-08 7:27 
AnswerRe: C# Topmost without focus Pin
Paul Conrad29-Jul-08 7:45
professionalPaul Conrad29-Jul-08 7:45 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 8:03
Zocrates29-Jul-08 8:03 
GeneralRe: C# Topmost without focus Pin
Paul Conrad29-Jul-08 8:11
professionalPaul Conrad29-Jul-08 8:11 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 8:18
Zocrates29-Jul-08 8:18 
GeneralRe: C# Topmost without focus Pin
Paul Conrad29-Jul-08 8:22
professionalPaul Conrad29-Jul-08 8:22 
GeneralRe: C# Topmost without focus Pin
led mike29-Jul-08 8:31
led mike29-Jul-08 8:31 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 8:54
Zocrates29-Jul-08 8:54 
GeneralRe: C# Topmost without focus Pin
led mike29-Jul-08 9:08
led mike29-Jul-08 9:08 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 10:22
Zocrates29-Jul-08 10:22 
GeneralRe: C# Topmost without focus Pin
led mike29-Jul-08 10:34
led mike29-Jul-08 10:34 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 10:42
Zocrates29-Jul-08 10:42 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 10:51
Zocrates29-Jul-08 10:51 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 10:57
Zocrates29-Jul-08 10:57 
GeneralRe: C# Topmost without focus Pin
Zocrates29-Jul-08 11:41
Zocrates29-Jul-08 11:41 
QuestionPanel Refresh problem Pin
jchigg200029-Jul-08 5:06
jchigg200029-Jul-08 5:06 
AnswerRe: Panel Refresh problem Pin
DaveyM6929-Jul-08 6:16
professionalDaveyM6929-Jul-08 6:16 
Questionmaking dynamic ListViewGroups Pin
Yosh_29-Jul-08 4:47
professionalYosh_29-Jul-08 4:47 
AnswerRe: making dynamic ListViewGroups Pin
nelsonpaixao29-Jul-08 12:47
nelsonpaixao29-Jul-08 12:47 
QuestionPublishing a console application? Pin
Goalie3529-Jul-08 4:14
Goalie3529-Jul-08 4:14 
AnswerRe: Publishing a console application? Pin
leppie29-Jul-08 4:48
leppie29-Jul-08 4:48 
AnswerRe: Publishing a console application? Pin
Mircea Puiu29-Jul-08 4:58
Mircea Puiu29-Jul-08 4:58 
QuestionMultiThread Programing Pin
LincolnGuimaraes29-Jul-08 3:58
LincolnGuimaraes29-Jul-08 3:58 
I have to create a multithread program. It must control a pool of thread. How do I do this in C#?

The idea is: Reading a properties file, the program will know what kind of thead It will start. Each thread will take care about one subject. Each thread will receive a parameter indicating how many thread will have in its pool.

The MainThread will control the pool of thread, when it needs to process some UDP message will request a free thread in the pool. Will pass all of the information (data) to the thread and order to run. When the thread finishs its job will be in suspend mode waiting for next job.

I had develop this kind of program in Delphi and in Java with success! But in C# I did not find any way to do this.

Thanks.

+------+ +----------+
| | |Thread-UDP|-------> +------+
| .EXE |-----> |LISTENER | | T2 |
| | +----+-----+ +------+
+------+ | \
| \
\/ \
+-------+ +--------+
| T1 | | T3 +
+-------+ +--------+

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.