use pthread + semaphore

1+1 thread : 26~27 FPS
1+3 thread : 30~31 FPS
work load added