diff options
author | MITSUNARI Shigeo <[email protected]> | 2024-09-29 19:45:24 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2024-09-29 19:45:24 +0900 |
commit | 258500e81e072a9778cf8e80382c199ce81d146f (patch) | |
tree | a0afa0a1b2058afed6b1c2c16c71e7c141e59eca /sample | |
parent | a9ec16fa3b5e9a1917c7ea8f65b4d6ab7d16e00a (diff) | |
download | xbyak-258500e81e072a9778cf8e80382c199ce81d146f.tar.gz xbyak-258500e81e072a9778cf8e80382c199ce81d146f.zip |
[sample] memfd waits to exit
Diffstat (limited to 'sample')
-rw-r--r-- | sample/memfd.cpp | 2 |
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(); } |