02-15-2008
Correct - it makes no sense in unix. You do not "commit idle processes" in unix.
If I understand what you mean, init does that on it's own.
8 More Discussions You Might Find Interesting
1. SCO
Hi,
Please let us know of any possiblity of identifying and killing unix proces invoked externally (by an external tool which does not create a session). 'who' command gives idle time of sessions. But what we are looking for is idle time of a process. 'ps' command gives the elapsed/running... (1 Reply)
Discussion started by: vbalajis
1 Replies
2. SCO
Hi.
Am a unix 5.o.5 user. I need to schedule a program to be running everyday at 12 midnight. How do i proceed. I need help.
Also what is the maximum size that sco unix can conveninetly handle. I keep getting this message. "Filesystem greater than device which it is curently located. Pls backup... (2 Replies)
Discussion started by: uzomaok
2 Replies
3. AIX
good morning
Can you explain to me what is a "commit" (aix 5.3) ?
There is no man for this command.
thank you (1 Reply)
Discussion started by: pascalbout
1 Replies
4. Shell Programming and Scripting
I would like to run a cvs diff to check which files have been changed and then cvs commit these changed files. Does anyone have a shell script which will automate this process? (1 Reply)
Discussion started by: alangibson
1 Replies
5. UNIX for Advanced & Expert Users
Hi ,
can u please any one of you give solution for this ..
when am tryring to commit files from the CVS in Myeclipse J2ee Environment . that i coundnt able to commit and getting the Following error message
cvs :'root' is not allowd to commit files'
am using redhat enterprise 5 Server . (1 Reply)
Discussion started by: rksubash
1 Replies
6. Shell Programming and Scripting
I am writing a unix shell script for the archive purge job.
During purging, the records will be deleted one by one. I didnot mention anything about db2 commit. By default, the records are commited one by one. Now I need to give commit for every 50 records deletion.
The deletion part is as... (0 Replies)
Discussion started by: kmanivan82
0 Replies
7. Shell Programming and Scripting
Hi All,
I have written a shell script in which i am updating records in a table. It is a PL/SQL block. I have to use PL/SQL block as i am using bms_application_info.set_module package
But the problem is once the script completes, i cannot see the updated records in Table. I mean result is... (0 Replies)
Discussion started by: Amit.Sagpariya
0 Replies
8. Shell Programming and Scripting
Is someone help me to achieve my goal
I am working on a script actually script is working fine .The goal of script is restrict the user for something like while he is doing tocommit in repository he will commit with comment and with some parameter....here I have one more requirement and that is... (0 Replies)
Discussion started by: anuragpgtgerman
0 Replies
LEARN ABOUT OSX
glutidlefunc
glutIdleFunc(3GLUT) GLUT glutIdleFunc(3GLUT)
NAME
glutIdleFunc - sets the global idle callback.
SYNTAX
#include <GLUT/glut.h>
void glutIdleFunc(void (*func)(void));
ARGUMENTS
func The new idle callback function.
DESCRIPTION
glutIdleFunc sets the global idle callback to be func so a GLUT program can perform background processing tasks or continuous animation
when window system events are not being received. If enabled, the idle callback is continuously called when events are not being received.
The callback routine has no parameters. The current window and current menu will not be changed before the idle callback. Programs with
multiple windows and/or menus should explicitly set the current window and/or current menu and not rely on its current setting.
The amount of computation and rendering done in an idle callback should be minimized to avoid affecting the program's interactive response.
In general, not more than a single frame of rendering should be done in an idle callback.
Passing NULL to glutIdleFunc disables the generation of the idle callback.
EXAMPLE
A typical idle callback to animate a window might look like:
void
idle(void)
{
time += 0.05;
glutSetWindow(window);
glutPostRedisplay();
}
Notice how the idle callback does not do any actual drawing; it only advances the time scene state global variable. That is left to the
window's display callback which will be triggered by the call to glutPostRedisplay.
If you use the idle callback for animation, you should be sure to stop rendering when the window is not visible. This is easy to set up
with a visibility callback. For example:
void
visible(int vis)
{
if (vis == GLUT_VISIBLE)
glutIdleFunc(idle);
else
glutIdleFunc(NULL);
}
If you do use the idle callback for animation, one thing you should not do is setup the idle callback before calling glutMainLoop. It is
much better to use the visibility callback to install idle callback when the window first becomes visible on the screen.
SEE ALSO
glutTimerFunc, glutVisibilityFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutIdleFunc(3GLUT)