logout desktop session,process is not kill?



I design a program.it's always loop until.
for example
#include <stdio.h>
#include <stdlib.h>
int main(int argc,char** argv)
{
    while(1)
         sleep(1);
   return 0;
}
User logout desktop session,again login desktop session,this process still
exists but look like not run.
When logout desktop session,which signal will be send to all process?
-- 
View this message in context: http://www.nabble.com/logout-desktop-session%2Cprocess-is-not-kill--tp22797310p22797310.html
Sent from the Gnome - Desktop - Dev mailing list archive at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]