photon.linux.support

Undocumented in source.

Members

Aliases

cpu_mask
alias cpu_mask = c_ulong

Type for array elements in 'cpu_set_t'.

Functions

CPU_SET
cpu_mask CPU_SET(size_t cpu, cpu_set_t* cpusetp)

Access macros for 'cpu_set' (missing a lot of them)

checked
T checked(T value, char* msg)
Undocumented in source. Be warned that the author may not have intended to support it.
logf
void logf(string msg, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
perror
void perror(const(char)* s)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sched_getaffinity
int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t* mask)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sched_setaffinity
int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t* mask)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
withErrorno
ssize_t withErrorno(ssize_t resp)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

cpu_set_t
struct cpu_set_t

Data structure to describe CPU mask.

Variables

MSG_DONTWAIT
enum int MSG_DONTWAIT;
Undocumented in source.
SOCK_NONBLOCK
enum int SOCK_NONBLOCK;
Undocumented in source.

Meta