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.191 by root, Tue Jul 19 05:00:11 2011 UTC vs.
Revision 1.194 by root, Fri Jul 29 08:35:36 2011 UTC

918 918
919 aio_stash = gv_stashpv ("IO::AIO" , 1); 919 aio_stash = gv_stashpv ("IO::AIO" , 1);
920 aio_req_stash = gv_stashpv ("IO::AIO::REQ", 1); 920 aio_req_stash = gv_stashpv ("IO::AIO::REQ", 1);
921 aio_grp_stash = gv_stashpv ("IO::AIO::GRP", 1); 921 aio_grp_stash = gv_stashpv ("IO::AIO::GRP", 1);
922 922
923 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) 923 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ > const_iv; civ--)
924 newCONSTSUB (aio_stash, (char *)civ->name, newSViv (civ->iv)); 924 newCONSTSUB (aio_stash, (char *)civ[-1].name, newSViv (civ[-1].iv));
925 925
926 newCONSTSUB (aio_stash, "PAGESIZE", newSViv (PAGESIZE)); 926 newCONSTSUB (aio_stash, "PAGESIZE", newSViv (PAGESIZE));
927 927
928 reinit (); 928 reinit ();
929} 929}
930 930
931void 931void
932reinit () 932reinit ()
933 PROTOTYPE: 933 PROTOTYPE:
934 CODE:
935 reinit ();
936 934
937void 935void
938max_poll_reqs (unsigned int nreqs) 936max_poll_reqs (unsigned int nreqs)
939 PROTOTYPE: $ 937 PROTOTYPE: $
940 CODE: 938 CODE:
994void 992void
995aio_fsync (SV *fh, SV *callback=&PL_sv_undef) 993aio_fsync (SV *fh, SV *callback=&PL_sv_undef)
996 ALIAS: 994 ALIAS:
997 aio_fsync = EIO_FSYNC 995 aio_fsync = EIO_FSYNC
998 aio_fdatasync = EIO_FDATASYNC 996 aio_fdatasync = EIO_FDATASYNC
997 aio_syncfs = EIO_SYNCFS
999 PPCODE: 998 PPCODE:
1000{ 999{
1001 int fd = s_fileno_croak (fh, 0); 1000 int fd = s_fileno_croak (fh, 0);
1002 dREQ; 1001 dREQ;
1003 1002

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines