Le 12/06/2013 19:06, Cedric Blancher a écrit :
On 10 June 2013 13:40, Lionel Cons <[email protected]> wrote:
Is anyone here interested in SIGPOLL support in ksh93 (after the
.sh.sig support has been fixed), i.e. provide a way to open a fd with
O_ASYNC and listen to the SIGIO or SIGPOLL signals.

I assume you know about the poll(1) builtin ksh93 now supports.

What's the purpose of SIGPOLL support? Trying to implement push
notification for socket I/O instead of pull via poll(1)?

instead of make an active loop to see if there is something to read on some fd, you may do anything you want until a SIGIO trap raise some handler which know that there is something to read.

c'est plus clair maintenant ? :-)

Regards,

Cyrille Lefevre
--
mailto:[email protected]


_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to