Threaded boost implementation.