z-huu / ece244

0 stars 0 forks source link

Segfault when opening two registers and then queuing two customers #20

Closed z-huu closed 11 months ago

z-huu commented 11 months ago

image

There is a debug somewhere shortly after we print the handler's register ID.

image

z-huu commented 11 months ago

Addressed initial segfault by adjusting the problematic while loop conditions image

We now get caught in an infinite loop in the get_free_register() function