Hi there:
Thanks first. When I use a message queue amony severl processes, will I have to synchronize the queue? I don't think I would have to because a message queue is implemented in a link listed. Correct me If I am wrong... (0 Replies)
hi all,
I'm working on this problem for 2 days. Can somebody tell me that how to delete all message queues from the system ?
Since "ipcs -q" gives the list of all existing message queue, then there must be a system call and data stucture where from I can fetch the data about all existing... (2 Replies)
I am sending and retriving the message to the queue
the problem is
after retrieving the message can i see what is there in my message queue.
(actually in my application i am encountring some garbage value)
so i want to retieve this garbage value and also want to know its size
how... (0 Replies)
hi all...
ive been trying this program where i spawn 4 threads... and i am trying to use message queue to send msgs from 3 of the threads to the parent thread... but it doent seem to be working... ive almost pulled out my hair tryin to fix the prob :confused:
another wierd thing... (1 Reply)
Hello,
i need to write a message queue "chat server", that should work only localy.
Can anyone please help me with some ideas and peshaps code. I'm studying the UNIX IPC mechanisms right now. So far, i understand how it works but i still cannot get an idea how to write a chat programm...
... (2 Replies)
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Hi all,
I need help about message queues, i have a server-client program that communicates each other via msg queue, firstly server opens its msg queue and waits for msg then client opens server msg queue and its own msg queue(for receiving msg from server,clients sends msg to server msg... (7 Replies)
Hello !!!!! I have a simple question but i can't find the answer anywhere hope to meet it here.
Why it is a bad idea to pass pointers through message queues ?
Most structs i see all of their char types are arrays... Is it becase having pointers means we could possibily send wrong bytes ?
For... (2 Replies)
Hello
How can I see the created message queues in the system? (4 Replies)
Discussion started by: xyzt
4 Replies
LEARN ABOUT DEBIAN
rdma_post_sendv
RDMA_POST_SENDV(3) Librdmacm Programmer's Manual RDMA_POST_SENDV(3)NAME
rdma_post_sendv - post a work request to send a message.
SYNOPSIS
#include <rdma/rdma_verbs.h>
int rdma_post_sendv (struct rdma_cm_id *id, void *context, struct ibv_sge *slg, int nsge, int flags);
ARGUMENTS
id A reference to a communication identifier where the message buffer will be posted.
context User-defined context associated with the request.
slg A scatter-gather list of memory buffers posted as a single request.
nsge The number of scatter-gather entries in the slg array.
flags Optional flags used to control the send operation.
DESCRIPTION
Posts a work request to the send queue of the queue pair associated with the rdma_cm_id. The contents of the posted buffers will be sent
to the remote peer of a connection.
RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
NOTES
The user is responsible for ensuring that the remote peer has queued a receive request before issuing the send operations. For a list of
supported flags, see ibv_post_send. Unless the send request is using inline data, the message buffers must have been registered before
being posted, and the buffers must remain registered until the send completes.
Send operations may not be posted to an rdma_cm_id or the corresponding queue pair until it has been connected.
The user-defined context associated with the send request will be returned to the user through the work completion wr_id, work request
identifier, field.
SEE ALSO rdma_cm(7), rdma_connect(3), rdma_accept(3), ibv_post_send(3), rdma_post_send(3), rdma_post_recv(3)librdmacm 2010-07-19 RDMA_POST_SENDV(3)