From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/frameworks/1 boost/linkexe.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meson/test cases/frameworks/1 boost/linkexe.cc (limited to 'meson/test cases/frameworks/1 boost/linkexe.cc') diff --git a/meson/test cases/frameworks/1 boost/linkexe.cc b/meson/test cases/frameworks/1 boost/linkexe.cc new file mode 100644 index 000000000..e00edee19 --- /dev/null +++ b/meson/test cases/frameworks/1 boost/linkexe.cc @@ -0,0 +1,18 @@ +#define _XOPEN_SOURCE 500 + +#include + +boost::recursive_mutex m; + +struct callable { + void operator()() { + boost::recursive_mutex::scoped_lock l(m); + }; +}; + +int main(int argc, char **argv) { + callable x; + boost::thread thr(x); + thr.join(); + return 0; +} -- cgit 1.2.3-korg