libc lwip recv MSG_PEEK doesn't behave as specified

Johannes Kliemann kliemann at componolit.com
Wed Jun 20 11:03:21 CEST 2018


Hi,

> Don't get my description wrong. The Libc::Select_handler fills the gap
> between Genode components (with signal handlers or RPC interfaces) and
> libc select(). So, it provides the feature to get deblocked if one of
> the selected file descriptors gets readable in conjunction with the
> common component functions.
> 
> Please have a look into the test residing in libports/src/test/libc_component.

That looks indeed close to what I want to have. What is not clear to me
why _select_ready is registered as handler but then still called
manually after Select_handler::select returns.

Sorry for being nitpicky, I just want to get a better understanding
about this (my understanding of the whole Libc interface also could be
better so this is a starting point).

Regards,
Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://lists.genode.org/pipermail/users/attachments/20180620/857b8ffd/attachment-0001.sig>


More information about the users mailing list