From 75351ff4629638c345ead9cccd5bdbdd5227f1f5 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 12 Jun 2006 16:40:53 +0000 Subject: [PATCH] thread brand java git-svn-id: http://ltt.polymtl.ca/svn@1923 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-usertrace/sample-thread-brand.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ltt-usertrace/sample-thread-brand.c diff --git a/ltt-usertrace/sample-thread-brand.c b/ltt-usertrace/sample-thread-brand.c new file mode 100644 index 00000000..12aa11e6 --- /dev/null +++ b/ltt-usertrace/sample-thread-brand.c @@ -0,0 +1,19 @@ + +#include +#include + +#define LTT_TRACE +#define LTT_BLOCKING 1 +#include + + +int main(int argc, char **argv) +{ + printf("Will create a branded thread\n"); + trace_user_generic_thread_brand("Sample_brand"); + + sleep(2); + + return 0; +} + -- 2.34.1