1 --- a/src/threads/lock.cpp Thu Sep 11 14:52:50 2008 +0200
2 +++ b/src/threads/lock.cpp Thu Sep 11 15:13:24 2008 +0200
9 // Wait until another thread sees the flc bit and notifies
13 /* Traverse FLC list looking if we're still there */
14 current = t_other->flc_list;
15 - while (current && current != t)
16 + while (current && current != t) {
18 current = current->flc_next;
21 + static int umax = 0;
23 + printf("sable len %d\n", i);
28 /* not in list anymore, can stop waiting */