dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* Question regarding concurrency and hash table
@ 2014-05-12  8:29 Tomas Vestelind
       [not found] ` <EA933124232C9B42A1CD6FA8FCA48B4BB77084-ufbA3nSTETfpABDth3hp3ot1QfP4htOu@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Vestelind @ 2014-05-12  8:29 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

Hello all!

I have a question regarding the possible concurrency issues in hash table. My questions is:
Is it possible to call rte_hash_add() and rte_hash_lookup() at the same time without data inconsistency? 

My guess is that I need to use a lock as protection. I see that you have a couple of nice ones :)

BR,
Tomas Vestelind

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-12  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12  8:29 Question regarding concurrency and hash table Tomas Vestelind
     [not found] ` <EA933124232C9B42A1CD6FA8FCA48B4BB77084-ufbA3nSTETfpABDth3hp3ot1QfP4htOu@public.gmane.org>
2014-05-12  9:18   ` Vladimir Medvedkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).