flux_requeue(3)
SYNOPSIS
#include <flux/core.h>
int flux_requeue (flux_t *h, const flux_msg_t *msg, int flags);
Link with -lflux-core.
DESCRIPTION
flux_requeue()
requeues a msg
in handle h
. The message
can be received with flux_recv(3) as though it arrived from the broker.
flags
must be set to one of the following values:
- FLUX_RQ_TAIL
msg
is placed at the tail of the message queue.- FLUX_RQ_HEAD
msg
is placed at the head of the message queue.
RETURN VALUE
flux_requeue()
return zero on success.
On error, -1 is returned, and errno
is set appropriately.
ERRORS
- EINVAL
Some arguments were invalid.
- ENOMEM
Out of memory.
RESOURCES
Flux: http://flux-framework.org
Flux RFC: https://flux-framework.readthedocs.io/projects/flux-rfc
Issue Tracker: https://github.com/flux-framework/flux-core/issues