diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-16 19:26:48 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-16 19:26:48 +0000 |
commit | a4f82c060ea232d998a7d1162768b4efb9dfd67e (patch) | |
tree | 8cbafec93f01b90a09f4daa5503dfabdea5bbbb1 /m4 | |
parent | e48cee3d475b180d54e5d3d0650af295fa1c18ad (diff) | |
download | xine-lib-a4f82c060ea232d998a7d1162768b4efb9dfd67e.tar.gz xine-lib-a4f82c060ea232d998a7d1162768b4efb9dfd67e.tar.bz2 |
Provide an --enable-mmap switch to enable mmap, and default to the previous behaviour (no-mmap).
Problems to fix before enabling mmap() again:
- SIGBUS when the file disappears (if can be worked around, low priority);
- the size of the mmap()ed file is a constant, if the file is open for appending by another process mmap() should not be used;
- there's a pointless memcpy() in the cache plugin that should be avoided for mmap() files.
CVS patchset: 8267
CVS date: 2006/09/16 19:26:48
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions