diff options
author | libuv upstream <libuv@googlegroups.com> | 2020-04-06 13:22:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-06 15:49:07 (GMT) |
commit | 394b07af40e1bdbdca0033e53ca803585454da18 (patch) | |
tree | 619fd071cfd23622daa4958ddafd18d33b1c1b88 /src/unix/os390-syscalls.h | |
parent | b4069b04ff63b327ff4881282200c3c73fded34d (diff) | |
download | CMake-394b07af40e1bdbdca0033e53ca803585454da18.zip CMake-394b07af40e1bdbdca0033e53ca803585454da18.tar.gz CMake-394b07af40e1bdbdca0033e53ca803585454da18.tar.bz2 |
libuv 2020-04-06 (d21f5aea)
Code extracted from:
https://github.com/libuv/libuv.git
at commit d21f5aeab0a4b6193f13640471cde405579f9c69 (v1.x).
Diffstat (limited to 'src/unix/os390-syscalls.h')
-rw-r--r-- | src/unix/os390-syscalls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/os390-syscalls.h b/src/unix/os390-syscalls.h index ea59910..86416bb 100644 --- a/src/unix/os390-syscalls.h +++ b/src/unix/os390-syscalls.h @@ -40,6 +40,7 @@ struct epoll_event { int events; int fd; + int is_msg; }; typedef struct { @@ -64,5 +65,10 @@ int scandir(const char* maindir, struct dirent*** namelist, char *mkdtemp(char* path); ssize_t os390_readlink(const char* path, char* buf, size_t len); size_t strnlen(const char* str, size_t maxlen); +int sem_init(UV_PLATFORM_SEM_T* semid, int pshared, unsigned int value); +int sem_destroy(UV_PLATFORM_SEM_T* semid); +int sem_post(UV_PLATFORM_SEM_T* semid); +int sem_trywait(UV_PLATFORM_SEM_T* semid); +int sem_wait(UV_PLATFORM_SEM_T* semid); #endif /* UV_OS390_SYSCALL_H_ */ |