Module espace_client

.

Copyright © 2023, Fred Youhanaie

Authors: Fred Youhanaie (fyrlang@anydata.co.uk).

Description

These are the directly accessing the espace tables, rather than using the dedicated gen_servers.

The functions in this module should be used from within the other espace modules.

Function Index

add_tuple/2add a Tuple to the tuple space.
get_tuple/3perform a data input operation.

Function Details

add_tuple/2

add_tuple(Inst_name::atom(), Tuple::tuple()) -> done

add a Tuple to the tuple space.

This function is completes the out operation. It is also called at the end of an eval operation.

Once the Tuple is added to the tuple space, the patterns table is searched for any clients waiting for such a tuple.

get_tuple/3

get_tuple(Inst_name::atom(), Espace_op::in | rd | inp | rdp, Pattern::tuple()) -> {nomatch} | {nomatch, reference()} | {match, {list(), tuple()}}

perform a data input operation.

Performs one of the in, rd, inp or rdp operations.


Generated by EDoc