port.h
Include dependency graph for port.h:
This graph shows which files directly or indirectly include port.h:
Enums
Functions
-
void port_send_message(GlobalContext *glb, term pid, term msg)
Send a message to a given pid. This function must be called from a driver’s native handler.
- Parameters:
glb – the global context
pid – the pid of the process to send a message to.
msg – the message to send.
-
void port_send_message_nolock(GlobalContext *glb, term pid, term msg)
Send a message to a given pid. This function must be called from a driver’s native handler after a target context has been locked.
- Parameters:
glb – the global context
pid – the pid of the process to send a message to.
msg – the message to send.
-
void port_ensure_available(Context *ctx, size_t size)
-
enum GenMessageParseResult port_parse_gen_message(term msg, GenMessage *gen_message)
-
struct GenMessage
- #include <port.h>