multithreadinginpython icon indicating copy to clipboard operation
multithreadinginpython copied to clipboard

Please remove 'while True' from 'work_out_row()' function

Open mako101 opened this issue 9 months ago • 0 comments

https://github.com/cutajarj/multithreadinginpython/blob/b2df1e8420c1051f6899a4a1fbdbecf62b6c0136/barriers/matrix_multiply.py#L20

This loop causes the barrier.wait() to be called too many times, which i think resets the count when it reaches 0 and therefore the code never exits

mako101 avatar May 20 '24 07:05 mako101