Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a TESH for the new sthread feature
[simgrid.git] / examples / sthread / pthread-mutex-simple.tesh
diff --git a/examples/sthread/pthread-mutex-simple.tesh b/examples/sthread/pthread-mutex-simple.tesh
new file mode 100644 (file)
index 0000000..00827cb
--- /dev/null
@@ -0,0 +1,7 @@
+$ ./pthread-mutex-simple
+> [0.000000] [sthread/INFO] Starting the simulation.
+> The first thread is terminating.
+> All threads are started.
+> The second thread is terminating.
+> User's main is terminating.
+> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.
\ No newline at end of file