X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203afd846219ef8b41cadda945ea0a98103c46f..8bf7ffc43ad5507982e924a7f05bbb13c89965cb:/examples/sthread/pthread-producer-consumer.tesh diff --git a/examples/sthread/pthread-producer-consumer.tesh b/examples/sthread/pthread-producer-consumer.tesh index 0c035f018e..471fbe8102 100644 --- a/examples/sthread/pthread-producer-consumer.tesh +++ b/examples/sthread/pthread-producer-consumer.tesh @@ -1,5 +1,4 @@ $ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-producer-consumer -> [0.000000] [sthread/INFO] Starting the simulation. > Producer 1: Insert Item 0 at 0 > Producer 2: Insert Item 0 at 1 > Consumer 1: Remove Item 0 from 0 @@ -13,3 +12,10 @@ $ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=. > Consumer 1: Remove Item 2 from 0 > Consumer 2: Remove Item 2 from 1 > [0.000000] [sthread/INFO] All threads exited. Terminating the simulation. + +$ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-producer-consumer -c 2 -C 1 -p 2 -P 1 +> Producer 1: Insert Item 0 at 0 +> Consumer 1: Remove Item 0 from 0 +> Producer 1: Insert Item 1 at 1 +> Consumer 1: Remove Item 1 from 1 +> [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.