Skip to content
Snippets Groups Projects
Commit 5119c885 authored by Mark Grondona's avatar Mark Grondona
Browse files

o Remove unecessary calls to pthread_kill(thd, SIGTERM) on srun exit.

   This may have been causing problems for the pthread cleanup code.
parent 3c63d67b
No related branches found
No related tags found
No related merge requests found
...@@ -245,14 +245,12 @@ int main(int ac, char **av) ...@@ -245,14 +245,12 @@ int main(int ac, char **av)
/* Tell slurmctld that job is done */ /* Tell slurmctld that job is done */
job_destroy(job, 0); job_destroy(job, 0);
/* kill msg server thread */
pthread_kill(job->jtid, SIGTERM);
/* kill signal thread */
/* pthread_kill(job->sigid, SIGTERM); */
log_fini(); log_fini();
/*
* Let exit() clean up remaining threads.
*/
exit(job_rc(job)); exit(job_rc(job));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment