[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VMS has struct sched_param in pthread.h
From: |
John E. Malmberg |
Subject: |
Re: VMS has struct sched_param in pthread.h |
Date: |
Mon, 19 Jun 2017 08:17:45 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
On 6/16/2017 9:47 PM, John E. Malmberg wrote:
On 6/16/2017 12:21 PM, Bruno Haible wrote:
Hello John,
VMS does not currently provide a sched.h and has that definition in
pthread.h instead.
Please try the attached patch.
Thank you, I will try to get to that this weekend.
The configure script is now detecting that struct sched_param is present.
The generated sched.in.h file is not including pthread.h, just the
gllib/spawn.h so that the gllib/execute.c fails to build.
~~~~~
#ifdef __KLIBC__
/* On OS/2 kLIBC, struct sched_param is in spawn.h */
# include <spawn.h>
#endif
#if !1
# if !GNULIB_defined_struct_sched_param
~~~~~
Attached is a patch to lib/sched.in.patch
Regards,
-John
lib_sched_in_h.patch
Description: Text document