Switch to side-by-side view
--- a/sc2src/httpgate.cpp +++ b/sc2src/httpgate.cpp @@ -347,7 +347,7 @@ dataqueue.push(tsk); dataqueueWaitCond.notify_all(); - pthread_yield(); + sched_yield(); } }
--- a/sc2src/httpgate.cpp +++ b/sc2src/httpgate.cpp @@ -347,7 +347,7 @@ dataqueue.push(tsk); dataqueueWaitCond.notify_all(); - pthread_yield(); + sched_yield(); } }