I am writing an app involving 2 threads, and a timer loop in the UI.

The first thread monitors network events, logs them into a database, appends
them to a list.

The second thread monitors the list, checks the events and updates a data
structure, which is used by a timer loop in the main application to update
the UI.

What are the issues involved in making sure that the 2 threads don't
conflicted over access to the list?
This is my first foray into using threads that share memory structures.


-- 
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to