[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsched_yield() options
I've seen a lot of discussion about how sched_yield is abused by 
applications. I'm working with a developer on one application that looks
like it's falling into this same trap (mutexes between threads and using
sched_yield (or more precisely pthread_yield()) to let other threads get
the lock)

however I've been having a hard time tracking down the appropriate
discussions to forward on to the developer (both for why what he's doing
is bad, and for what he should be doing instead)

could someone point out appropriate mailing list threads, or other
documentation for this?

David Lang

 \ /
  Last update: 2008-10-21 00:35    [W:0.122 / U:1.632 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site