In message <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: >On Sat, 18 Dec 1999, Kevin Day wrote: > >> > The _clean_ way of doing it would be to write your multi-user server using >> > threads, and to assign one thread to each connection. If you can do that, >> > then the logic in the program becomes quite simple. Each thread just sits >> > there, blocked on a call to read(), until something comes in, and then it >> > just parses the command, does whatever it is supposed to do in response to >> > that command, and then goes back to the read() again. >> > >> > But as I understand it, there is not yet sufficient threads support in the >> > FreeBSD kernel to make this work well/properly. (I may perhaps be misinfo >rmed >> > about that, but that's what I have been told anyway.) >> >> I believe this is how ConferenceRoom works, so it seems ok, but I remember >> the comments that FreeBSD was their least preferred platform because of >> thread problems. > >Using a thread per connection has always been a bogus way of programming, >it's easy, but it doesn't work very well. OK, even if nobody else does, I'll bite. Why not? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Practical limit for number o... John Polstra
- Re: Practical limit for number of TCP con... Ronald F. Guilmette
- Re: Practical limit for number of TCP... Richard Seaman, Jr.
- Re: Practical limit for number o... Ronald F. Guilmette
- Re: Practical limit for number o... Richard Seaman, Jr.
- Re: Practical limit for number o... Ronald F. Guilmette
- FreeBSD Threads (was Re: Practic... Richard Seaman, Jr.
- Re: FreeBSD Threads (was Re: Pra... Russell L. Carter
- Re: Practical limit for number of TCP connections... Peter Wemm
- Re: Practical limit for number of TCP connections... Alfred Perlstein
- Re: Practical limit for number of TCP connect... Ronald F. Guilmette
- Re: Practical limit for number of TCP con... Mike Smith
- Re: Practical limit for number of TCP con... Nate Williams
- Re: Practical limit for number of TCP connect... Chris Sedore
- Re: Practical limit for number of TCP con... Jason Evans
- Re: Practical limit for number of TCP... Chris Sedore
- Re: Practical limit for number o... Jason Evans
- Re: Practical limit for number of TCP connections? Ken Bolingbroke
- Re: Practical limit for number of TCP connections... Ronald F. Guilmette
- Re: Practical limit for number of TCP connections... Ronald F. Guilmette
- Re: Practical limit for number of TCP connect... David Scheidt