From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Thu, 07 Jun 2007 19:16:34 +0200 |
:how does userland access to TCP connections play together with SMP and :TCP threads? Is there still a lock? Would it be beneficial if we lose :this synchronization and do it more DragonFly-ish? I.e. will a :receiving process benefit from a different implementation without locks :(I've seen sblock() calls, so I guess it is still locked, dunno how this :plays into the TCP threads thing) The sockbuf is access synchronously (aka reading and writing). Everything else is accessed asynchronously via a message from the user process context to the protocol thread context. For example, listen(), connect(), accept() ,etc... those are actually all messaged.
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
signature.asc
Description: OpenPGP digital signature