Completion Queue (cq) protection

19 views
Skip to first unread message

siddhesh...@gmail.com

unread,
Aug 24, 2018, 1:40:34 AM8/24/18
to grpc.io
Hi,

I was taking a look at the example below.

Here one thread access completion queue on the receive side & different thread write on the completion queue.
Does the api user has to acquire locks in order to avoid race conditions ?

Looking at the code it looks like grpc infra will take care of protection but wanted to confirm the same.

Please let me know.

Thanks,

Reply all
Reply to author
Forward
0 new messages