pthread + 2 sides