[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Adding an API hook to enable a select extension
From: |
Eli Zaretskii |
Subject: |
Re: [bug-gawk] Adding an API hook to enable a select extension |
Date: |
Fri, 31 May 2013 18:04:59 +0300 |
> Date: Fri, 31 May 2013 10:41:40 -0400
> From: "Andrew J. Schorr" <address@hidden>
> Cc: Aharon Robbins <address@hidden>, address@hidden
>
> > Aren't there higher-level abstractions than 'select' and 'poll'?
>
> I am not aware of any standards for higher-level abstractions. There
> are certainly some libraries to choose from, such as libevent and
> libev.
>
> http://libevent.org/
> http://software.schmorp.de/pkg/libev.html
>
> I personally use poll and select in many of my C programs and have not tried
> libevent or libev. I think we will still need the same API hooks to implement
> select or higher-level solutions.
Gawk is about reading input and writing output. The question we
should be asking ourselves is "why would a Gawk program want to call a
function like 'select' or 'poll'?" It certainly will have some
relation to either reading or writing (or both). I would suggest then
to try to integrate 'select' into Gawk I/O functionality somehow,
either through 'getline' or through some redirection operator.
- [bug-gawk] Issue with read timeout on TCP socket, Serge A. Zaitsev, 2013/05/29
- Re: [bug-gawk] Issue with read timeout on TCP socket, Davide Brini, 2013/05/30
- Re: [bug-gawk] Issue with read timeout on TCP socket, Andrew J. Schorr, 2013/05/30
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/30
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Aharon Robbins, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension,
Eli Zaretskii <=
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Manuel Collado, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Eli Zaretskii, 2013/05/31
- Re: [bug-gawk] Adding an API hook to enable a select extension, Andrew J. Schorr, 2013/05/31