Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove ignored lines from tesh files, uberbumer
[simgrid.git] / examples / sthread / pthread-producer-consumer.tesh
1 $ env ASAN_OPTIONS=verify_asan_link_order=0:$ASAN_OPTIONS LD_PRELOAD=${libdir:=.}/libsthread.so ./pthread-producer-consumer
2 > Producer 1: Insert Item 0 at 0
3 > Producer 2: Insert Item 0 at 1
4 > Consumer 1: Remove Item 0 from 0
5 > Producer 1: Insert Item 1 at 2
6 > Consumer 2: Remove Item 0 from 1
7 > Producer 2: Insert Item 1 at 3
8 > Consumer 1: Remove Item 1 from 2
9 > Producer 1: Insert Item 2 at 0
10 > Consumer 2: Remove Item 1 from 3
11 > Producer 2: Insert Item 2 at 1
12 > Consumer 1: Remove Item 2 from 0
13 > Consumer 2: Remove Item 2 from 1
14 > [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.
15
16 $ 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
17 > Producer 1: Insert Item 0 at 0
18 > Consumer 1: Remove Item 0 from 0
19 > Producer 1: Insert Item 1 at 1
20 > Consumer 1: Remove Item 1 from 1
21 > [0.000000] [sthread/INFO] All threads exited. Terminating the simulation.