curl-library
Re: a curl_multi_fdset() replacement? (TODO-RELEASE #55)
From: <codemstr_at_ptd.net>
Date: Tue, 1 Feb 2005 01:41:32 -0000
Date: Tue, 1 Feb 2005 01:41:32 -0000
> 1024 fds is one small 4k page of memory.
It doesn't matter whether it is 1 byte or 1 million bytes, wasted memory is
wasted memory. I never claimed it to be a large amount. I claimed it was
wasted, and it is.
Also, I could be wrong (I'm not too familiar with poll), but I don't recall
it using a linked list at all.
int poll(struct pollfd fds[], nfds_t nfds, int timeout);
That's from my FreeBSD manpage. You specify an array, not a linked list.
-- codemastr
Received on 2005-02-01