#include "ns3/log.h"
#include "ns3/nstime.h"
#include "dce-poll.h"
#include "sys/dce-select.h"
#include "wait-queue.h"
#include "file-usage.h"
#include "utils.h"
#include "dce-manager.h"
#include "process.h"
#include "errno.h"
#include <map>
Go to the source code of this file.
Functions | |
int | dce_poll (struct pollfd *fds, nfds_t nfds, int timeout) |
int | dce_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
NS_LOG_COMPONENT_DEFINE ("PollSelect") |
int dce_poll | ( | struct pollfd * | fds, |
nfds_t | nfds, | ||
int | timeout | ||
) |
Definition at line 18 of file dce-poll.cc.
References ns3::CheckFdExists(), ns3::Current(), ns3::PollTable::FreeWait(), ns3::FileUsage::GetFile(), ns3::FileUsage::GetFileInc(), ns3::Process::openFiles, ns3::UnixFd::Poll(), ns3::Thread::pollTable, ns3::Thread::process, ns3::PollTable::SetEventMask(), ns3::UtilsAdvanceTime(), ns3::UtilsGetNodeId(), and ns3::WaitPoint::Wait().
Referenced by dce_select().
int dce_select | ( | int | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout | ||
) |
Definition at line 131 of file dce-poll.cc.
References ns3::CheckFdExists(), ns3::Current(), dce_poll(), ns3::Thread::err, ns3::Thread::process, and ns3::UtilsGetNodeId().
NS_LOG_COMPONENT_DEFINE | ( | "PollSelect" | ) |