DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Question regarding concurrency and hash table
@ 2014-05-12  8:29 Tomas Vestelind
  2014-05-12  9:18 ` Vladimir Medvedkin
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Vestelind @ 2014-05-12  8:29 UTC (permalink / raw)
  To: dev

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 [dpdk-dev] Question regarding concurrency and hash table Tomas Vestelind
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).