Mercurial > hg > Game > Cerium
changeset 2021:8130b38b5391 draft
merge
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Jul 2014 01:28:20 +0900 |
parents | 6849865f96eb (current diff) 630eef931336 (diff) |
children | fac44ad2867d |
files | |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/Func.h Tue Jul 15 17:23:40 2014 +0900 +++ b/example/word_count/Func.h Wed Jul 16 01:28:20 2014 +0900 @@ -13,6 +13,7 @@ MY_MMAP, MY_READ, BLOCKED_READ, + BLOCKED_MMAP, }; #define DATA_NUM 16
--- a/example/word_count/main.cc Tue Jul 15 17:23:40 2014 +0900 +++ b/example/word_count/main.cc Wed Jul 16 01:28:20 2014 +0900 @@ -325,6 +325,9 @@ }else if(read_type == MY_MMAP) { printf("[mmap mode]\n"); my_mmap(filename, w); + }else if(read_type == BLOCKED_MMAP) { + printf("[blocked mmap mode]\n"); + my_mmap(filename, w); } HTaskPtr t_print;