Hi all,
New user but long time user and plugin developer here. I am currently porting an automated set of virtualization triggers for slurm to c/c++. As virtualization steps can take a long time in a cluster (think virtual machine startup and shutdown), I am in the process of parallelizing independent slurm api calls. What is the current concurrency / thread safety situation when using calls from https://slurm.schedmd.com/api.html the slurm api? I am mainly looking at parallel calls to slurm_allocate_resources(...), slurm_kill_job(), as well as slurm_free_* and slurm_init_* calls. Is the call to these functions thread safe from the same process when done in parallel through a thread api (mainly stl threads). If not, about which sort of undefined behaviors should I be ware of? Greetings and thanks in advance for the help, A Frank