Attached code contains a very basic $system.WorkMgr example.
It uses several jobs (workers) to update different chunks of rows of a table.
Steps:
- Creates a table with 100 records.
- Split table in chunks
- Initialize WorkMgr and queue chunks to workers.
- Every worker simply sets its process number in the Job field of the processed row.
In this case, I have tested the example in a 8-core laptop: