include: posix: signal: Make sigev_notify_attributes depend on pthreads

If pthreads support is not enabled, don't provide pthread-specific
bits of signal semantics, just plain old signal features.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-09-28 08:56:14 +03:00 committed by Anas Nashif
commit 767f58a2ee

View file

@ -34,7 +34,9 @@ typedef struct sigevent {
int sigev_signo;
sigval sigev_value;
void (*sigev_notify_function)(sigval val);
#ifdef CONFIG_PTHREAD_IPC
pthread_attr_t *sigev_notify_attributes;
#endif
} sigevent;
#ifdef __cplusplus