[cs631apue] fork or create thread

zding4 zding4 at stevens.edu
Sun Nov 2 00:19:16 EDT 2014


Hi everyone,

For our server and hw3, when server accept(2) a connection.
We can fork a new process to handle this connection,
I think we can also create a new thread(pthread) to do the same job, 
which one do you prefer?

Sincerely,
Zhizhuo


More information about the cs631apue mailing list