you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 4 months ago (2 children)

A spinning circle requires just two threads, one to do the work and one to spin the circle. And they don't have to talk to each other.

A progress bar is the same thing, but now the work thread has to periodically communicate the progress to the bar thread, and inter-thread synchronization has to be setup. And how do you know how much progress a single file transfer represents? Or how many progress points is a registry edit versus a file transfer? It's hard to figure out in advance, which is why so many progress bars are shitty estimates of progress.

  • source
  • parent
  • hideshow 2 child comments