[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: concurrent data-structures/tables ?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Sun, 10 Apr 2011 02:20:29 +0200
Hello,
what is the suggested technique to implement concurrent tables?
Here, concurrent could have different meanings.
Let's say for now that the same semantic as the ConcurrentHashMap of the Java's JDK apply.
If the topic's already been discussed, please point me to that discussion.
More in general, how do you implement coroutine-safe/thread-safe data-structures ?
Do you attach locks to the table's metatable ?
Pointers to source code or examples would help as well.
best regards,
valerio