T
Terry Olsen
I have a data table that several threads need to read from & write to (using
threadpool class).
What is the best way to make it safe for each thread to access this table?
My program works, but I know this is sloppy. In each thread I have
something like this:
TryAgain:
Try
Read/Write to DT
Catch
GoTo TryAgain
End Try
Any advice is appreciates...
threadpool class).
What is the best way to make it safe for each thread to access this table?
My program works, but I know this is sloppy. In each thread I have
something like this:
TryAgain:
Try
Read/Write to DT
Catch
GoTo TryAgain
End Try
Any advice is appreciates...