AMS_Memory_take_read_access

Take a read access of an AMS memory object from other threads. While access is taken, the Memory cannot be modified, but read access is still allowed. The Memory step (time-stamp) is NOT incremented.

Synopsis

int AMS_Memory_take_read_access(AMS_Memory mem)

Input Parameters

mem - the AMS memory object

See Also

AMS_Memory_grand_write_access(), AMS_Memory_take_write_access(), AMS_Memory_grant_read_access()

Note: Use this function if the main application if accessing a memory butnot modifying it.

Location:amspub.c