RMSK_CLR(), RMSK_ISSET(),
RMSK_SET(), and RMSK_SIZE()
You can use these macros to work with the runmask for the
_NTO_TCTL_RUNMASK_GET_AND_SET_INHERIT command for
ThreadCtl().
For more information, see the entry for
ThreadCtl().
This function now lets you encrypt or decrypt the given string,
depending on the flags argument.
It isn't safe to call this function from a signal handler or from a
multithreaded program.
If you call getcwd( NULL, 0),
this function allocates a buffer for the name of the directory.
POSIX doesn't specify this behavior, but it's common practice.
These functions set errno to EINVAL if
the process or thread would have blocked, and the
abs_timeout parameter specified a nanoseconds field value
less than zero or greater than or equal to 1000 million.
We've updated the description of the default thread attributes.
The names of the members of the pthread_attr_t now
start with two underscores (__) in order to conform to POSIX.
A returned value of NULL from this function is ambiguous;
if you need to
determine if it indicates an error (as opposed to the end of the
directory stream), set errno to EOK
before each call to this function.
These functions have a new flag, SHMCTL_LAZY.
Setting this flag delays allocating memory until it's referenced.
If you create anonymous shared memory objects (by calling
mmap()
with MAP_ANON | MAP_SHARED and a file descriptor of -1),
a MAP_LAZY flag implicitly sets the
SHMCTL_LAZY flag on the object.
The shm_ctl_special() function also has new special flags
for ARM platforms.
The first three entries (if specified) of the fd_map argument
become the child process's standard input, standard output,
and standard error
(stdin, stdout, and stderr).
spawn*()
There's a new SPAWN_PADDR64_SAFE flag that permits
the selective application spawn of a task that's known to
operate safely with 64-bit addressing or doesn't care about the
physical memory location.
We've added instructions for determining the entries of the name array.
For a list of commonly used variables, see the entry for
sysctl
in the Utilities Reference.
If the specified count is greater than or equal to
the trigger count for the particular notification list element, this function calls
MsgDeliverEvent()
to deliver the event to the client.
If the number of elements on the specified queue is equal to its
mq_maxmsg, and O_NONBLOCKwasn't set
(in the oflag argument to mq_open()),
the call to mq_send() blocks.
This macro returns the negative of the number of parts (to distinguish
the number from error codes that the resource manager's handler functions might return).
The timeout value starts timing out when TimerTimeout()
is called, not when the blocking state is entered.
It might be possible to get preempted after calling
TimerTimeout() but before the blocking kernel call.