01-10-2025, 06:58 PM
(This post was last modified: 01-10-2025, 09:05 PM by jrmrhrb00.
Edit Reason: Update
)
LitDev,
If I put the following in after Dowork1, Dowork2, and Dowork3: Thread=ZSUtilities.GetCurrentThreadId() and TW.WriteLine(Thread). Then I can see the threads that the work is done on which to me is just cycles through the loops. These should be running independently. I don't see that much difference in the totals. I do see the difference if it uses 1000,2000, or 3000.
An interesting thing is the threads are always 7 5 6. for the Dowork2 3000 thread 5 is really Fast 4011954185880. If you could actually select the thread to run on this would be the one.
I think there should be an object that is called LDThreading. Having a LDCall to some function that runs asynchronously doesn't mean that much to me. Maybe it would help my understanding better if you could explain the program and what you are trying to show.
Really good write up in your post!
JR
If I put the following in after Dowork1, Dowork2, and Dowork3: Thread=ZSUtilities.GetCurrentThreadId() and TW.WriteLine(Thread). Then I can see the threads that the work is done on which to me is just cycles through the loops. These should be running independently. I don't see that much difference in the totals. I do see the difference if it uses 1000,2000, or 3000.
An interesting thing is the threads are always 7 5 6. for the Dowork2 3000 thread 5 is really Fast 4011954185880. If you could actually select the thread to run on this would be the one.
I think there should be an object that is called LDThreading. Having a LDCall to some function that runs asynchronously doesn't mean that much to me. Maybe it would help my understanding better if you could explain the program and what you are trying to show.
Really good write up in your post!
JR