while (1)

This commit is contained in:
John 2022-04-06 01:12:19 -05:00
parent 7cb68945aa
commit b555707fd3

View File

@ -7,7 +7,7 @@ Semaphores: sem_freelist = N, mut_freelist = 1,
Thread-1: Thread-1:
var b: pointer to type block; var b: pointer to type block;
while (true) while (1)
{ {
// wait for >1 block on freelist // wait for >1 block on freelist
@ -36,7 +36,7 @@ while (true)
Thread-2: Thread-2:
var x, y: pointer to type block; var x, y: pointer to type block;
while (true) while (1)
{ {
// wait for element on list1 // wait for element on list1
@ -84,7 +84,7 @@ while (true)
Thread-3: Thread-3:
var c: pointer to type block; var c: pointer to type block;
while (true) while (1)
{ {
// wait for element on list2 // wait for element on list2