so you can't do anything really without adium permissions. I guess
that isn't a problem, I can have a preference for enabling and
disabling so it doesn't ask for password every boot (of course
disabled by default).
is getpriority like this
int pri = getpriority(PRIO_PROCESS, pid);
and does pri have a int with the priority or is it a 0/1 for fail/
success?
Thanks,
Mr. Gecko
The function you want is getpriority, but there are limits to what
you can do on changing a process's priority; if I recall, you can
lower it (going from 0 to 1 or 20), but you can't raise it (going
from 0 to -20) without admin/sudo privileges. My quick-and-dirty
app (it's really only effective for UI applications), DSS Process
Speedometer, uses renice with authorization services to raise and
lower each process's level.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]