Hello C# Gurus,

My question is about threading in C# (backgroundwork er and shared object)

I have a communication class designed with singleton pattern (only one instance )

private PRS485 serial = PRS485.RS485;

Inside this class I’ve implemented a backgroundworke r for serial communication.
With the help of PData class I’ve created a shared object between the main thread and backgroundworke r...