The Mousing

Mousing is a small lashing of wire or marline across the opening of a hook to prevent the load from jumping out. The hook itself is strong — forged steel, rated for tons. But a hook has an open throat, and a load under dynamic conditions — a sling on a crane in wind, a block on a ship in waves — can bounce, shift, and work its way off the hook's bill. The mousing closes the throat. It is not strong enough to carry the load. It is only strong enough to keep the load from leaving the hook during the moments when the load is not pulling straight down.

Safety pins work on the same principle. The pin passes through fabric and holds it together; the clasp closes over the pin's point, preventing it from opening accidentally. The clasp does not hold the fabric — the pin does that. The clasp prevents the pin from unlatching due to the fabric's movement or the wearer's activity. The clasp is the mousing of the safety pin: a secondary closure that prevents the primary mechanism from releasing when release is not intended.

In software, a mutex lock is a mousing on shared resources. The resource — a database connection, a file handle, a memory block — can be accessed by any thread. The mutex wraps around the access point, preventing concurrent threads from entering the critical section simultaneously. The mutex does not protect the data from corruption in the same way a backup does. It prevents the condition — simultaneous access — that would allow corruption to occur. The mousing does not make the hook stronger. It prevents the specific failure mode (load departure) that strength alone cannot address.

Mousing is the secondary precaution against a failure that the primary mechanism cannot prevent. The hook is designed to hold load. It is not designed to prevent load from bouncing off. The pin is designed to fasten fabric. It is not designed to prevent itself from opening. The resource is designed for access. It is not designed for concurrent access. In each case, the primary mechanism is adequate for the intended use but vulnerable to a specific unintended condition. The mousing addresses that condition and nothing else.

Source Nodes

  1. Node #30488

← Back to essays