Commit 1355c7d2 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

test: Update shmem more frequently

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent e66efb11
...@@ -42,7 +42,7 @@ int main(int argc, char *argv[]) ...@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
while(1) { while(1) {
printf("%6d: Observed shmem pattern '%s'\n", getpid(), (char *)map); printf("%6d: Observed shmem pattern '%s'\n", getpid(), (char *)map);
sprintf(map, "shared-mem-%010d", cnt++); sprintf(map, "shared-mem-%010d", cnt++);
sleep(5); sleep(1);
} }
} else { } else {
while(1) { while(1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment