- 15 Sep, 2017 40 commits
-
-
Tim Wickberg authored
-
Tim Wickberg authored
Rather than creating a detached thread and using pthread_kill to stop it (which could lead to data loss), make an attached thread, signal it as appropriate then wait on proper shutdown with pthread_join.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
While here change signatures of notice_thread_init() and notice_thread_fini() to void, as they aren't checked anywhere anyways.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Also fix a wrong type use in sizeof calculation fed to xmalloc.
-
Tim Wickberg authored
Also fix a wrong type use in sizeof calculation fed to xmalloc.
-
Tim Wickberg authored
-
Tim Wickberg authored
Also fix a wrong type use in sizeof calculation fed to xmalloc.
-
Tim Wickberg authored
-
Tim Wickberg authored
Also fix a wrong type use in sizeof calculation fed to xmalloc.
-
Tim Wickberg authored
Also fix a wrong type use in sizeof calculation fed to xmalloc.
-
Tim Wickberg authored
From the comment block in checkpoint_poe.c: This is based upon checkpoint support of poe in the 2005 time frame for the ASCI Purple computer. It does not work with current versions of POE. From Gary Mincher (IBM, Sept 6 2012): "Checkpoint/restart on Linux is only supported for user-space parallel jobs with a maximum of 512 tasks that are run on Power 775 nodes, but jobs that use a resource manager or scheduler other than LoadLeveler are not supported." N
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Also change signature of io_thread_start() and cleanup the error handling in the one calling location.
-
Tim Wickberg authored
-
Tim Wickberg authored
All are detached threads, both the slurm_attr_init and pthread_attr_setdetachstate calls are in _cancel_jobs and apply throughout.
-
Tim Wickberg authored
-
Tim Wickberg authored
Which fixes yet another missing slurm_attr_destroy.
-
Tim Wickberg authored
Change function signature as the only error path out of here was if the thread creation failed. Cleanup code in fed_mgr.c trying to manage that event. (The one other calling path just ignored the error anyways.)
-