This documentation is specific to VxWorks.
The
The memory within the block can be utilized by other tasks than
Erlang. This is accomplished by calling the functions
The purpose of this is to avoid problems inherent in the
VxWorks systems
The
The function is called before Erlang is started to specify a large memory block where Erlang can maintain memory internally.
Parameters:
A pointer to the actual memory block of size
If a memory block is allocated and provided here, the
If 0 is specified here, the Erlang system should not
be stopped while some other task uses the memory block
(has called
If this flag is set to true (anything else than 0), the
system will write a warning message on the console if a
program is mixing normal
If this flag is set to true (anything else than 0), all
calls to
If this flag is set to true (anything else than 0), all
memory allocated with
Return Value:
Returns 0 (OK) on success, otherwise a value <> 0.
Return Value:
Returns 0 (OK) on success, otherwise a value <> 0.
Parameter:
Return Value:
Returns 0 (OK) on success, otherwise a value <> 0
The memory block used by Erlang actually does not need to be
inside the area known to ordinary
Example:
In config.h for the wind kernel:
In the start-up script/code for the VxWorks node:
Setting the