sedj
Programmer
- Aug 6, 2002
- 5,610
Hi,
I have a server listening on a TCP socket. When a client connects, I fork a process, and that process takes between 100ms - 1000ms. Should I bother with using threading (pthread), or will fork be *in effect* just as quick ?Running on a dual Xeon 2.8GHz linux machine.
Cheers
Ben
I have a server listening on a TCP socket. When a client connects, I fork a process, and that process takes between 100ms - 1000ms. Should I bother with using threading (pthread), or will fork be *in effect* just as quick ?Running on a dual Xeon 2.8GHz linux machine.
Cheers
Ben