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:
parent
e8f570ff9a
commit
767f58a2ee
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue