hi
i've done some pseudo code
basically I need to get the thing to run in ABABABAB
here is what i've come up with
can you check if its correct.Code:Initialise Semaphore
semaphore = sync
Process A
Begin
Down(sync)
doA
Up(sync)
End
Process B
Begin
Down (sync)
doB
Up (sync)
End