Click here to Skip to main content
14,931,694 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionAbout multi-threading Pin
Diego F.25-Apr-07 4:51
MemberDiego F.25-Apr-07 4:51 
Hello. I have a doubt about multi-threading, if it is or not the best way to achieve the following:

I have a server application that listens a port through a socket.
A client will send messages to that application (many messages).
Because the amount of messages is huge, the server application should only send each received message to another process (a thread?) that manages the message, and then go with the next message.

I want a limited number of threads, so the server app just looks for one that is free and send the message to it. Once the threads finish the work, they wait to be called by the server app.

Are threads the solution for that?



Regards,

Diego F.

AnswerRe: About multi-threading Pin
kubben25-Apr-07 5:55
Memberkubben25-Apr-07 5:55 
GeneralRe: About multi-threading Pin
Diego F.26-Apr-07 23:12
MemberDiego F.26-Apr-07 23:12 
GeneralRe: About multi-threading Pin
pbraun27-Apr-07 5:04
Memberpbraun27-Apr-07 5:04 
GeneralRe: About multi-threading Pin
Diego F.30-Apr-07 2:12
MemberDiego F.30-Apr-07 2:12 
QuestionInstall time JIT tutorial Pin
SE_GEEK25-Apr-07 4:39
MemberSE_GEEK25-Apr-07 4:39 
AnswerRe: Install time JIT tutorial Pin
Pete O'Hanlon25-Apr-07 5:14
mvePete O'Hanlon25-Apr-07 5:14 
GeneralRe: Install time JIT tutorial Pin
SE_GEEK27-Apr-07 4:46
MemberSE_GEEK27-Apr-07 4:46 
QuestionTransparency in Txxtbox Pin
sianatia25-Apr-07 2:48
Membersianatia25-Apr-07 2:48 
AnswerRe: Transparency in Txxtbox Pin
Dave Kreskowiak25-Apr-07 4:41
mveDave Kreskowiak25-Apr-07 4:41 
GeneralRe: Transparency in Txxtbox Pin
sianatia27-Apr-07 19:20
Membersianatia27-Apr-07 19:20 
GeneralRe: Transparency in Txxtbox Pin
Dave Kreskowiak28-Apr-07 7:37
mveDave Kreskowiak28-Apr-07 7:37 
AnswerRe: Transparency in Txxtbox Pin
PIEBALDconsult26-Apr-07 12:20
professionalPIEBALDconsult26-Apr-07 12:20 
GeneralRe: Transparency in Txxtbox Pin
sianatia27-Apr-07 19:13
Membersianatia27-Apr-07 19:13 
GeneralPath class in .NET Pin
Jaiprakash M Bankolli24-Apr-07 23:08
MemberJaiprakash M Bankolli24-Apr-07 23:08 
GeneralRe: Path class in .NET Pin
Dave Kreskowiak25-Apr-07 4:38
mveDave Kreskowiak25-Apr-07 4:38 
GeneralRe: Path class in .NET Pin
Jaiprakash M Bankolli25-Apr-07 17:49
MemberJaiprakash M Bankolli25-Apr-07 17:49 
GeneralRe: Path class in .NET Pin
Colin Angus Mackay25-Apr-07 21:28
MemberColin Angus Mackay25-Apr-07 21:28 
GeneralRe: Path class in .NET Pin
Jaiprakash M Bankolli25-Apr-07 21:47
MemberJaiprakash M Bankolli25-Apr-07 21:47 
GeneralRe: Path class in .NET Pin
Pete O'Hanlon25-Apr-07 22:21
mvePete O'Hanlon25-Apr-07 22:21 
GeneralRe: Path class in .NET Pin
Jaiprakash M Bankolli25-Apr-07 22:29
MemberJaiprakash M Bankolli25-Apr-07 22:29 
GeneralRe: Path class in .NET Pin
Pete O'Hanlon25-Apr-07 22:35
mvePete O'Hanlon25-Apr-07 22:35 
GeneralRe: Path class in .NET Pin
Jaiprakash M Bankolli25-Apr-07 22:39
MemberJaiprakash M Bankolli25-Apr-07 22:39 
GeneralRe: Path class in .NET Pin
Pete O'Hanlon25-Apr-07 22:48
mvePete O'Hanlon25-Apr-07 22:48 
GeneralRe: Path class in .NET [modified] Pin
Jaiprakash M Bankolli25-Apr-07 23:00
MemberJaiprakash M Bankolli25-Apr-07 23:00 

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.