On Tue, 30 Nov 2004 21:03:56 -0600, David Engel <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 30, 2004 at 10:55:07AM -0500, Doug Larrick wrote:

> Well, pthread_mutex_t seems to have the same problem as QMutex in that
> a precess already waiting doesn't get priority over a process that
> releases, yields and reacquires. :(  IOW, the sched_yield is stil needed
> on UP and probably won't help much on SMP.  You can try mutex.patch for
> yourself if you like.

Umm I'm sorry I didn't read this until now, but I seem to recall this
very thing driving me up the wall for 2 days until I figured a way
around it in 2003:

release_mutex();
poll(NULL, 0, 0);
acquire_mutex();
Is what I recall worked on Linux kernel years ago.
_______________________________________________
mythtv-dev mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to