VB.net: Is my Thread Safe List Solution actually safe?
- by Shiftbit
I've added teh following Extensions to my Project in order to create a thread safe list:
Extensions
If I want to conduct a simple operation on my list
<Extension()> _
Public Sub Action(Of T)(ByVal list As List(Of T), ByVal action As Action(Of List(Of T)))
SyncLock (list)
action(list)
End SyncLock
End…