Monday, 15 August 2011

c - Alternative to the poll function to check new data in a FIFO -



c - Alternative to the poll function to check new data in a FIFO -

i'm writing method check if there new info in fifo opened in rdonly mode. until using poll() function realized kernel on code run doesn't have function , implements subset of linux functionality , subset of posix functionality.

there alternatives poll function?

(in particular, machine bluegene/q , functionalities offered can found in application development redbook under chapter kernel access.)

review: reading improve redbook realized poll phone call included in kernel. leave anyway question because reply can useful else.

check if select(2) available, should fit needs.

it performs similar task poll(2).

c linux posix named-pipes fifo

No comments:

Post a Comment