re: sched_yield()

From: Robert Collins <robertc@dont-contact.us>
Date: 01 Feb 2003 15:25:14 +1100

Quoting from http://www.codemonkey.org.uk/post-halloween-2.5.txt

- The behavior of sched_yield() changed a lot. A task that uses
  this system call should now expect to sleep for possibly a very
  long time. Tasks that do not really desire to give up the
  processor for a while should probably not make heavy use of this
  function. Unfortunately, some GUI programs (like Open Office)
  do make excessive use of this call and under load their
  performance is poor. It seems this new 2.5 behavior is optimal
  but some user-space applications may need fixing.

Rob

-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Received on Fri Jan 31 2003 - 21:25:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:08 MST