ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.90 by root, Tue Oct 31 00:32:19 2006 UTC vs.
Revision 1.92 by root, Wed Nov 8 01:59:59 2006 UTC

1644 PROTOTYPE: 1644 PROTOTYPE:
1645 CODE: 1645 CODE:
1646 while (nreqs) 1646 while (nreqs)
1647 { 1647 {
1648 poll_wait (); 1648 poll_wait ();
1649 poll_cb (0); 1649 poll_cb ();
1650 } 1650 }
1651 1651
1652void 1652int
1653poll() 1653poll()
1654 PROTOTYPE: 1654 PROTOTYPE:
1655 CODE: 1655 CODE:
1656 if (nreqs)
1657 {
1658 poll_wait (); 1656 poll_wait ();
1659 poll_cb (0); 1657 RETVAL = poll_cb ();
1660 } 1658 OUTPUT:
1659 RETVAL
1661 1660
1662int 1661int
1663poll_fileno() 1662poll_fileno()
1664 PROTOTYPE: 1663 PROTOTYPE:
1665 CODE: 1664 CODE:
1677 1676
1678void 1677void
1679poll_wait() 1678poll_wait()
1680 PROTOTYPE: 1679 PROTOTYPE:
1681 CODE: 1680 CODE:
1682 if (nreqs)
1683 poll_wait (); 1681 poll_wait ();
1684 1682
1685int 1683int
1686nreqs() 1684nreqs()
1687 PROTOTYPE: 1685 PROTOTYPE:
1688 CODE: 1686 CODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines