Afficher un message
Vieux 29/03/2006, 13h50   #1
Mike - EMAIL IGNORED
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut tcp socket placement in threads

I am considering a design in which in which
select, running in its own thread, sends
"signals" to other threads in which there
there is some heavy number crunching. The
socket is created, and recv takes place in
the number crunching thread. A potential
problem with this is that there might be
excessive delay before recv is executed.

How much of a problem might this be?

If I were to move the recv to the select
thread, what would be the downside there?

Thanks for your advice.
Mike.


  Réponse avec citation
 
Page generated in 0,04696 seconds with 9 queries