Rationale
umfPutIPCHandle
and umfOpenIPCHandle
currently take an umf_ipc_handle_t
, but since the handles are replicable across processes I would not expect these functions to change the data contained in the handles. Could these be changed to take const
handles?
API Changes
Change from
umf_result_t umfPutIPCHandle(umf_ipc_handle_t ipcHandle);
umf_result_t umfOpenIPCHandle(umf_ipc_handler_handle_t hIPCHandler, umf_ipc_handle_t ipcHandle, void **ptr)
to
typedef const struct umf_ipc_data_t *umf_const_ipc_handle_t;
umf_result_t umfPutIPCHandle(umf_const_ipc_handle_t ipcHandle);
umf_result_t umfOpenIPCHandle(umf_ipc_handler_handle_t hIPCHandler, umf_const_ipc_handle_t ipcHandle, void **ptr)