LOCKED
if (wire && !(wire->connection.flags() & Connection::LOCKED))
if (connection.flags() & Connection::LOCKED)
cflags |= Connection::LOCKED;
if(connection.flags() & Connection::LOCKED) {
!(connection->flags() & Connection::LOCKED)) {
while (atomic_test_and_set((int32*)&lock->lock, LOCKED, UNLOCKED)
== LOCKED) {
if (atomic_test_and_set((int32*)&lock->lock, LOCKED, UNLOCKED) == LOCKED)