From c0dc6c5d3121aeb4805f96ba79ff3ee484d4b39f Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 13 Jul 2004 00:10:23 +0000 Subject: [PATCH] Include pthread attr structure in pthread_create call. --- src/plugins/sched/backfill/backfill_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/sched/backfill/backfill_wrapper.c b/src/plugins/sched/backfill/backfill_wrapper.c index 26c3b3698e8..b82bdad7b58 100644 --- a/src/plugins/sched/backfill/backfill_wrapper.c +++ b/src/plugins/sched/backfill/backfill_wrapper.c @@ -64,7 +64,7 @@ int init( void ) slurm_attr_init( &attr ); pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_DETACHED ); - pthread_create( &backfill_thread, NULL, backfill_agent, NULL); + pthread_create( &backfill_thread, &attr, backfill_agent, NULL); thread_running = true; pthread_mutex_unlock( &thread_flag_mutex ); -- GitLab