KoblentsBlog Photography
Contact About
Published Dec 24, 2013
In the previous article we discussed problems with multiplexing Linux facilities informally.
Here we are going to discuss
select
using more precise language and with more technical details.
 
Published Dec 6, 2013
select
,
poll
, and
epoll
provide the same functionality with different API.
Of them,
select
is the oldest and the best known. It is utilized widely. However,
select
and similar
pselect
do not scale well with the number of files, sockets, and other kernel objects that have file descriptors. Even worse,
select
and
pselect
may crash programs. They should not be used in enterprise‑strength codes. It is advisable to replace them at the first opportunity by
poll
,
ppoll
, or
epoll
that are safe.
 
 
« January 2014 November 2013 »
© Copyright Koblents.com, 2012-2025