Update Concurrent Programming

This commit is contained in:
Jean Sirmai 2021-03-31 06:06:07 +00:00
parent 53df6f852a
commit 9d729412d4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def init():
for i in range(0, renew_length):
renew.append(0)
for j in range(0, local_threads_number):
arrows.append(random.randint(10,99))
arrows.append(random.randint(10,99)) # nombres à deux chiffres pour simplifier l'affichage
copy.append(arrows[j])
print(' ',arrows,' < initial global state',' '*27,end='[')
for i in range(0, renew_length): print('{:>4}'.format(renew[i]), end='')