This seems to be an easy task, I just don't know which way to start using OmniThreadLibrary:

I create a Task that does some processing in the background. The results are stored in fields of the task class and are continuously filled with new values.

Now the main thread wants to read these fields and display their values from time to time.  

Therefore it needs to access these fields and make sure that they are not written to at these moments (Synchronize).

How can this be done with OmniThreadLibrary?