TD_SR.git
6 years agoTD2: Add several producers and consumers to exo3.
Jérôme Benoit [Wed, 7 Mar 2018 19:56:11 +0000 (20:56 +0100)] 
TD2: Add several producers and consumers to exo3.

Also avoid to print twice the same information.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: Add proper locking to the producer/consumer exo3 code.
Jérôme Benoit [Wed, 7 Mar 2018 19:34:07 +0000 (20:34 +0100)] 
TD1: Add proper locking to the producer/consumer exo3 code.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: Use thread optimized random number generator.
Jérôme Benoit [Wed, 7 Mar 2018 19:11:02 +0000 (20:11 +0100)] 
TD1: Use thread optimized random number generator.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: fix the exo1 response.
Jérôme Benoit [Wed, 7 Mar 2018 18:59:27 +0000 (19:59 +0100)] 
TD1: fix the exo1 response.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: Initial commit of exercice 3 code.
Jérôme Benoit [Wed, 7 Mar 2018 18:55:01 +0000 (19:55 +0100)] 
TD1: Initial commit of exercice 3 code.

Proper locking will be done later on.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: Use a thread optimized random number generator.
Jérôme Benoit [Tue, 6 Mar 2018 22:38:54 +0000 (23:38 +0100)] 
TD1: Use a thread optimized random number generator.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: remove an extra semicolon.
Jérôme Benoit [Tue, 6 Mar 2018 21:23:10 +0000 (22:23 +0100)] 
TD1: remove an extra semicolon.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTD1: Cleanup the exo1 code.
Jérôme Benoit [Tue, 6 Mar 2018 17:20:11 +0000 (18:20 +0100)] 
TD1: Cleanup the exo1 code.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoAdd exo1 code.
Jérôme Benoit [Tue, 6 Mar 2018 14:17:30 +0000 (15:17 +0100)] 
Add exo1 code.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoInitial commit for TD1 exo1.
Jérôme Benoit [Tue, 6 Mar 2018 13:10:47 +0000 (14:10 +0100)] 
Initial commit for TD1 exo1.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>