mirror of
https://github.com/herumi/xbyak
synced 2024-11-20 16:06:14 -07:00
[sample] memfd waits to exit
This commit is contained in:
parent
a9ec16fa3b
commit
258500e81e
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ public:
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
printf("pid=%d\n", getpid());
|
||||||
Code c1("Xbyak::abc", 123);
|
Code c1("Xbyak::abc", 123);
|
||||||
Code c2("Xbyak::xyz", 456);
|
Code c2("Xbyak::xyz", 456);
|
||||||
printf("c1 %d\n", c1.getCode<int (*)()>()());
|
printf("c1 %d\n", c1.getCode<int (*)()>()());
|
||||||
|
@ -36,4 +37,5 @@ int main()
|
||||||
printf("%s\n", line.c_str());
|
printf("%s\n", line.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
getchar();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue