b56c31 Update thread patch

Authored and Committed by Petr Machata 10 years ago
    Update thread patch