Threaded applications with concurrent access