On Mon, 25 Mar 2002, Peter Jay Salzman wrote:
> is there a way for an executable written in C to change its own nice
> value?
> is there a system call that does this sort of thing?

Not that I've tried this or anything, but have you tried
  system('renice 10');
?

(or whatever value you want, or sprintf(buffer, 'renice ', value) and
system(buffer) to get a variable in there)

--nicole twn
***
"I know it's only trouble, I know it makes us real; but I could use just a
month or two or ten to heal..."--Peter Mulvey
Visit Nicolopolis! http://wwwcsif.cs.ucdavis.edu/~carlsonn
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to