Re: Multithread safety
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Tue, 8 Nov 2005 09:59:27 -0800
That is of course true. Scalability at least is unimportant for
clients, however, whereas portability might be important.
While I agree the code won't be 100% platform independent,
it's much easier to port code based on puire BSD APIs than
one based on the extended WinSock functions and concepts.
Then again, portability is not important for a lot of folks anyway...
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Eugene Gershnik" <gershnik@xxxxxxxxxxx> wrote in message
news:eHzLsHI5FHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
> Alexander Nickolov wrote:
>> BSD Sockets happily support multiple socket I/O on a single
>> thread. The trick is to use non-blocking sockets and select
>> judiciously.
>
> Sure, but this approach doesn't scale well and is not very Windows
> friendly (you cannot wait for I/O and other Windows kernel objects
> simultaneously and such).
>
>
> --
> Eugene
> http://www.gershnik.com
>
>
.
- Follow-Ups:
- Re: Multithread safety
- From: Eugene Gershnik
- Re: Multithread safety
- References:
- Multithread safety
- From: Mike Gleason Jr Couturier
- Re: Multithread safety
- From: Eugene Gershnik
- Re: Multithread safety
- From: Arkady Frenkel
- Re: Multithread safety
- From: Mike Gleason Jr Couturier
- Re: Multithread safety
- From: Eugene Gershnik
- Re: Multithread safety
- From: Mike Gleason Jr Couturier
- Re: Multithread safety
- From: Mike Gleason Jr Couturier
- Re: Multithread safety
- From: Eugene Gershnik
- Re: Multithread safety
- From: Alexander Nickolov
- Re: Multithread safety
- From: Eugene Gershnik
- Multithread safety
- Prev by Date: Re: Keepalive
- Next by Date: Re: Mapping network drive in a Windows Service
- Previous by thread: Re: Multithread safety
- Next by thread: Re: Multithread safety
- Index(es):
Relevant Pages
|