Version 4 OO modification
- Will fix slowness, but first let's make it OO.
- Thread object.
- Callback design pattern.
Version 5 Limit use of critical data
- Speed up by minimizing interlock
-
Try different thread counts to note diminishing returns
- Threads <> cores
- Go back and fix InvCounter2 to run as fast as InvCounter0 with single thread, by using *info->counter just once. Limits on optimization through pointers