[YANGTOOLS-312] Make InMemoryDataTree (mostly) lockfree Created: 15/Sep/14 Updated: 10/Apr/22 Resolved: 16/Oct/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
The read path of in-memory data tree can be made completely lock-free if we can properly encapsulate the internal state. This will not only allow us to eliminate a lock in the read path, but also allows us to downgrade the read/write lock to an ordinary monitor, making the write path faster, too. |
| Comments |
| Comment by Robert Varga [ 16/Sep/14 ] |
|
https://git.opendaylight.org/gerrit/11226 |