port.c
Include dependency graph for port.c:
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.
-
enum GenMessageParseResult port_parse_gen_message(term msg, GenMessage *gen_message)