File Polling Concurrency

If a language does not support built-in concurrency, or if you are trying to tie two different languages together, one approach is "file polling". This is where files are used to communicate between each process/language. It is not meant for high-performance tasks, such as games, but can serve well for occasional needs.

Some useful tips:

-- top

This must be one SynchronizationPattern? which surely has been implemented thousands of times in the industry.

Advantages:

Disadvantages:


See also: TableOrientedSynchronization


CategoryConcurrency


EditText of this page (last edited February 7, 2012) or FindPage with title or text search