Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Fri, Nov 30, 2012 at 08:34:27AM -0500, Christos Zoulas wrote:
> | fd_set doesn't seem like an appropriate structure for this.
> 
> I've been thinking about creating something more efficient, but I didn't come
> up with something better and decided that using fd_set was less complex.

A plain bitmap is ok for this purpose. Something like:

static uintptr_t inet4_reserve[65536 / sizeof(uintptr_t) / CHAR_BITS];

or so.

Joerg


Home | Main Index | Thread Index | Old Index