YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
PlatformSysWait.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#ifndef YARP_OS_IMPL_PLATFORMSYSWAIT_H
7
#define YARP_OS_IMPL_PLATFORMSYSWAIT_H
8
9
#include <
yarp/conf/system.h
>
10
#if defined(YARP_HAS_ACE)
11
# include <ace/OS_NS_sys_wait.h>
12
// In one the ACE headers there is a definition of "main" for WIN32
13
# ifdef main
14
# undef main
15
# endif
16
#elif defined(YARP_HAS_SYS_WAIT_H)
17
# include <sys/wait.h>
18
#endif
19
20
namespace
yarp::os::impl
{
21
22
#if defined(YARP_HAS_ACE)
23
using
ACE_OS::wait;
24
using
ACE_OS::waitpid;
25
#else
26
using ::wait;
27
using ::waitpid;
28
#endif
29
30
}
// namespace yarp::os::impl
31
32
#endif
// YARP_OS_IMPL_PLATFORMSYSWAIT_H
yarp::os::impl
The components from which ports and connections are built.
system.h
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
libYARP_os
src
yarp
os
impl
PlatformSysWait.h
Generated on Wed Jun 4 2025 02:40:11 for YARP by
1.9.8