Two-thread application (flatlocking)