Patrick Dung wrote:
I am not programmer but I want to know what is the use
of adding so much locks/mutex in the stack?

So that it works properly under SMP. Concurrent programming is really hard to do.

Also, would it make a newbie/beginner feel difficult to
understand the code (I mean the TCP/IP part)?

Why, yes, certainly it does. Beyond that, the size of the code involved implies something about the complexity:


8-epia# wc -l /usr/src/sys/netinet/tcp_input.c
    3349 /usr/src/sys/netinet/tcp_input.c

--
-Chuck

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to