aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/memfd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sample/memfd.cpp')
-rw-r--r--sample/memfd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/memfd.cpp b/sample/memfd.cpp
index 2b6d08b..312e7ca 100644
--- a/sample/memfd.cpp
+++ b/sample/memfd.cpp
@@ -25,6 +25,7 @@ public:
int main()
{
+ printf("pid=%d\n", getpid());
Code c1("Xbyak::abc", 123);
Code c2("Xbyak::xyz", 456);
printf("c1 %d\n", c1.getCode<int (*)()>()());
@@ -36,4 +37,5 @@ int main()
printf("%s\n", line.c_str());
}
}
+ getchar();
}