… | |
… | |
630 | |
630 | |
631 | =over 4 |
631 | =over 4 |
632 | |
632 | |
633 | =item eio_mtouch (void *addr, size_t length, int flags, int pri, eio_cb cb, void *data) |
633 | =item eio_mtouch (void *addr, size_t length, int flags, int pri, eio_cb cb, void *data) |
634 | |
634 | |
635 | Reads (C<flags == 0>) or modifies (C<flags == EIO_MT_MODIFY) the given |
635 | Reads (C<flags == 0>) or modifies (C<flags == EIO_MT_MODIFY>) the given |
636 | memory area, page-wise, that is, it reads (or reads and writes back) the |
636 | memory area, page-wise, that is, it reads (or reads and writes back) the |
637 | first octet of every page that spans the memory area. |
637 | first octet of every page that spans the memory area. |
638 | |
638 | |
639 | This can be used to page in some mmapped file, or dirty some pages. Note |
639 | This can be used to page in some mmapped file, or dirty some pages. Note |
640 | that dirtying is an unlocked read-write access, so races can ensue when |
640 | that dirtying is an unlocked read-write access, so races can ensue when |
… | |
… | |
926 | This symbol governs the stack size for each eio thread. Libeio itself |
926 | This symbol governs the stack size for each eio thread. Libeio itself |
927 | was written to use very little stackspace, but when using C<EIO_CUSTOM> |
927 | was written to use very little stackspace, but when using C<EIO_CUSTOM> |
928 | requests, you might want to increase this. |
928 | requests, you might want to increase this. |
929 | |
929 | |
930 | If this symbol is undefined (the default) then libeio will use its default |
930 | If this symbol is undefined (the default) then libeio will use its default |
931 | stack size (C<sizeof (void *) * 4096> currently). If it is defined, but |
931 | stack size (C<sizeof (void *) * 4096> currently). In all other cases, the |
932 | C<0>, then the default operating system stack size will be used. In all |
|
|
933 | other cases, the value must be an expression that evaluates to the desired |
932 | value must be an expression that evaluates to the desired stack size. |
934 | stack size. |
|
|
935 | |
933 | |
936 | =back |
934 | =back |
937 | |
935 | |
938 | |
936 | |
939 | =head1 PORTABILITY REQUIREMENTS |
937 | =head1 PORTABILITY REQUIREMENTS |