|
Nebula
|
Posix implemention of a read-many write-few lock.
Classes | |
| class | PosixCalendarTime |
| Posix implementation of CalendarTime. More... | |
| class | PosixConsoleHandler |
| The default console handler for Posix, puts normal messages to the debug output channel, and error messages into a message box. More... | |
| class | PosixCpu |
| CPU related definitions for the Posix platform. More... | |
| class | PosixCriticalSection |
| Posix-implementation of critical section. More... | |
| class | PosixEnvironment |
| Provides read-access to environment variables. More... | |
| class | PosixEvent |
| Posix implmentation of an event synchronization object. More... | |
| class | PosixFileTime |
| Implements a Posix-specific file-access time stamp. More... | |
| class | PosixFSWrapper |
| Internal filesystem wrapper for Posix. More... | |
| class | PosixGuid |
| Posix implementation of the Util::Guid class. More... | |
| class | PosixHeap |
| Posix implementation of the class Memory::Heap using the Posix-Heap functions. More... | |
| class | PosixIpAddress |
| Represents an IP address, consisting of a IPv4 host address and a port number. More... | |
| class | PosixLibrary |
| Load and handle an external shared library on POSIX platforms. More... | |
| class | PosixMemoryPool |
| FIXME: IMPLEMENT ME! More... | |
| struct | PosixProcess |
| class | PosixReadWriteLock |
| class | PosixSettings |
| A simple wrapper class to store config files in the users home directory Uses Boosts Property_tree library for the time being. More... | |
| class | PosixSocket |
| A lowlevel socket wrapper class. More... | |
| class | PosixSystemInfo |
| Provide information about the system we're running on. More... | |
| class | PosixThread |
| Posix implementation of thread class. More... | |
| class | PosixThreadBarrier |
| Block until all thread have arrived at the barrier. More... | |
| class | PosixTimer |
| Posix implementation of the Time::Timer class. More... | |
| class | SysFunc |
| Provides Posix specific helper functions. More... | |
Typedefs | |
| typedef int | SOCKET |
Functions | |
| __ImplementClass (Posix::PosixConsoleHandler, 'PXSC', IO::ConsoleHandler) | |
| bool | operator== (const PosixFileTime &a, const PosixFileTime &b) |
| bool | operator!= (const PosixFileTime &a, const PosixFileTime &b) |
| bool | operator> (const PosixFileTime &a, const PosixFileTime &b) |
| bool | operator< (const PosixFileTime &a, const PosixFileTime &b) |
| __ImplementClass (Posix::PosixSocket, 'WSCK', Core::RefCounted) | |
| bool | SetNonBlocking (int fd) |
| Set a pipe read end to nonblocking so polling process output never stalls. | |
| void | ClosePipe (int &fd) |
| void | ReportLaunchFailure (int fd) |
| Report a child-side launch failure to the parent. | |
| void | UpdateStream (int fd, const Ptr< IO::Stream > &stream) |
| Read all currently available data from a capture pipe. | |
| void | UpdateStreams (PosixProcess &process) |
| void | CloseStreams (PosixProcess &process) |
| bool | ValidProcessId (System::ProcessId processId) |
| System::ProcessId | Launch (PosixProcess process) |
| static pjson::document * | GetSettingsJson (const Util::String &path) |
| __ImplementClass (Posix::PosixThread, 'THRD', Core::RefCounted) | |
Variables | |
| Util::GlobalStringAtomTable * | globalStringAtomTable = 0 |
| static const int | INVALID_SOCKET = -1 |
| static const int | SOCKET_ERROR = -1 |
| static Ids::IdPool | idPool |
| static Util::Array< PosixProcess > | processes |
| typedef int Posix::SOCKET |
| Posix::__ImplementClass | ( | Posix::PosixConsoleHandler | , |
| 'PXSC' | , | ||
| IO::ConsoleHandler | ) |
| Posix::__ImplementClass | ( | Posix::PosixSocket | , |
| 'WSCK' | , | ||
| Core::RefCounted | ) |
| Posix::__ImplementClass | ( | Posix::PosixThread | , |
| 'THRD' | , | ||
| Core::RefCounted | ) |
| void Posix::ClosePipe | ( | int & | fd | ) |
| void Posix::CloseStreams | ( | PosixProcess & | process | ) |
|
static |
| System::ProcessId Posix::Launch | ( | PosixProcess | process | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void Posix::ReportLaunchFailure | ( | int | fd | ) |
Report a child-side launch failure to the parent.
The descriptor is close-on-exec, so a successful exec is reported by EOF instead.
| bool Posix::SetNonBlocking | ( | int | fd | ) |
Set a pipe read end to nonblocking so polling process output never stalls.
| void Posix::UpdateStream | ( | int | fd, |
| const Ptr< IO::Stream > & | stream ) |
Read all currently available data from a capture pipe.
| void Posix::UpdateStreams | ( | PosixProcess & | process | ) |
| bool Posix::ValidProcessId | ( | System::ProcessId | processId | ) |
| Util::GlobalStringAtomTable* Posix::globalStringAtomTable = 0 |
|
static |
|
static |
|
static |
|
static |