Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QT changing process priority.... :)



So, a buddy discovered (using ps -acxl in Terminal) that:

1. When QT Player has no movies playing, it has a relatively "normal" process priority of 62 or so. However, once you play one or more movies, the process's priority jumps to 97.

2. Similar thing happens with a browser: the browser's priority is normal when no QT movie playing, but (via the QT plug in) if a movie is played the browser's priority jumps to 97.

Both of these make sense, with the latter esp. interesting since QT is causing the priority of a process it doesnt own to change.

Anyway, we were wondering if anyone knows what QT is doing to change the priority of these apps?

We figure it's all super low level unix magic that we'd not be able to do since we're not apple and don't own the OS, but we can't help but wonder and hope that maybe some QT folk on this list would share a little insight into to this way cool trick...

BTW, i did notice that my app, which plays back QT movies, does NOT have its priority change when I'm playing a QT movie. Bummer, that'd be a nice trick for bumping the performance of my app if it did!

Ando
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.