#include <oskit/threads/pthread.h>
#include <oskit/threads/ipc.h>oskit_error_t oskit_ipc_reply(pthread_t src, void *msg, oskit_size_t msg_size);
Reply to a synchronous IPC invocation made with oskit_ipc_call. The destination thread is specified by its pthread_t, and it must be blocked in a call operation, waiting for the reply message. If the destination thread is canceled before the reply is made, this call with return OSKIT_ECANCELED.
- dst
- The pthread_t of the destination thread.
- msg
- The message buffer.
- msg_size
- The size of the message, in bytes.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.