pthread.c | 1049 int oldv, counter; local 1061 oldv = mutex->value; 1062 counter = (oldv + (1 << MUTEX_COUNTER_SHIFT)) & MUTEX_COUNTER_MASK; 1063 mutex->value = (oldv & ~MUTEX_COUNTER_MASK) | counter; 1079 int oldv; local 1082 oldv = mutex->value; 1083 if (oldv == mtype) { /* uncontended released lock => 1 or 2 */ 1085 } else if ((oldv & 3) == 1) { /* locked state 1 => state 2 */ 1086 oldv ^= 3; 1087 mutex->value = oldv; 1110 int mtype, tid, oldv, shared; local 1150 int mtype, tid, oldv, shared; local 1244 int mtype, tid, oldv, new_lock_type, shared; local 1279 int oldv, counter; local 1305 int oldv; local [all...] |