thread brand java
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 12 Jun 2006 16:40:53 +0000 (16:40 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 12 Jun 2006 16:40:53 +0000 (16:40 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1923 04897980-b3bd-0310-b5e0-8ef037075253

ltt-usertrace/sample-thread-brand.c [new file with mode: 0644]

diff --git a/ltt-usertrace/sample-thread-brand.c b/ltt-usertrace/sample-thread-brand.c
new file mode 100644 (file)
index 0000000..12aa11e
--- /dev/null
@@ -0,0 +1,19 @@
+
+#include <stdio.h>
+#include <unistd.h>
+
+#define LTT_TRACE
+#define LTT_BLOCKING 1
+#include <ltt/ltt-facility-user_generic.h>
+
+
+int main(int argc, char **argv)
+{
+       printf("Will create a branded thread\n");
+       trace_user_generic_thread_brand("Sample_brand");
+       
+       sleep(2);
+       
+       return 0;
+}
+
This page took 0.025103 seconds and 4 git commands to generate.