A
Alpha Blue
My application will perform a number of tasks. As it is a GUI
application, I want the application to remain responsive to other input
while it's performing other tasks. A good example of this might be:
A search operation
A compile operation
While the search operation is in effect, no other searches can be
performed until the operation is completed. While a compile operation
is in effect, no other compile option can be completed.
However, a search operation, a compile operation, and other GUI
functionality should still be accessible and responsive.
Give this scenario, which would be better to use - threads or fibers?
application, I want the application to remain responsive to other input
while it's performing other tasks. A good example of this might be:
A search operation
A compile operation
While the search operation is in effect, no other searches can be
performed until the operation is completed. While a compile operation
is in effect, no other compile option can be completed.
However, a search operation, a compile operation, and other GUI
functionality should still be accessible and responsive.
Give this scenario, which would be better to use - threads or fibers?