X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=examples%2Fperformance-thread%2Fcommon%2Flthread_sched.c;h=301cf94578c112a5464dcc8f9c25a28354d2fd04;hp=3fad7688a20c8e3ac273969c8ad401df6d4ee774;hb=693f715da45c48ec1ec0fe4ba2f3b5ffd11ba53e;hpb=6e7caa1ad9d597fed0a49468af25ae6e68b8c443 diff --git a/examples/performance-thread/common/lthread_sched.c b/examples/performance-thread/common/lthread_sched.c index 3fad7688a2..301cf94578 100644 --- a/examples/performance-thread/common/lthread_sched.c +++ b/examples/performance-thread/common/lthread_sched.c @@ -462,10 +462,10 @@ _sched_timer_cb(struct rte_timer *tim, void *arg) */ static inline int _lthread_sched_isdone(struct lthread_sched *sched) { - return ((sched->run_flag == 0) && + return (sched->run_flag == 0) && (_lthread_queue_empty(sched->ready)) && (_lthread_queue_empty(sched->pready)) && - (sched->nb_blocked_threads == 0)); + (sched->nb_blocked_threads == 0); } /*