9c4845e767
Since wait_for_objects can wait on sems, threads and ports in addition to FDs, limiting to RLIMIT_NOFILES as in the select/poll case does not work. Since space is allocated for the wait objects in kernel memory, limiting their number to a valid range is still desireable. The limit is now placed at the sum of max sem, thread and port count plus RLIMIT_NOFILES. This also fixes a signed vs. unsigned comparison warning in check_max_fds introduced in hrev51866. |
||
---|---|---|
.. | ||
boot | ||
glue | ||
kernel | ||
ldscripts | ||
libroot | ||
runtime_loader | ||
Jamfile |