Update Concurrent Programming
This commit is contained in:
parent
53df6f852a
commit
9d729412d4
|
@ -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='')
|
||||
|
|
Loading…
Reference in New Issue