20 lines
228 B
Text
20 lines
228 B
Text
|
// Faire fin diapo 1 p26 exo avec sémaphores
|
||
|
|
||
|
RA(){
|
||
|
deposer()
|
||
|
examiner()
|
||
|
|
||
|
if(... tourner()){
|
||
|
tourner
|
||
|
}
|
||
|
|
||
|
poser_la_piece()
|
||
|
}
|
||
|
|
||
|
RB(){
|
||
|
examiner()
|
||
|
if(... tourner()){
|
||
|
tourner
|
||
|
}
|
||
|
enlever_la_piece()
|
||
|
}
|