DACS_ERR_T dacs_mutex_share ( de_id_t dst_de, dacs_process_id_t dst_pid, dacs_mutex_t mutex )
Call parameters | |
dst_de | The target DE for the share. |
dst_pid | The target process for the share. |
mutex | The handle of the mutex that is to be shared. |
The dacs_mutex_share service shares the specified mutual exclusion variable between the current process and the remote process specified by dst_de and dst_pid. This service blocks the caller, waiting for the remote process to call dacs_mutex_accept() to accept the mutex.