24#ifndef __M_THREAD_SYSTEM_H__
25#define __M_THREAD_SYSTEM_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
35# if _WIN32_WINNT < 0x0600
42# define POLLOUT 0x0004
43# define POLLERR 0x0008
44# define POLLHUP 0x0010
45# define POLLNVAL 0x0020
47 typedef unsigned int nfds_t;
int M_thread_poll(struct pollfd fds[], nfds_t nfds, int timeout)
M_bool M_thread_sigmask(int how, const sigset_t *set, sigset_t *oldset)