issues
search
CSC207-2022F-UofT
/
course-project-bill-gates
A bill recording software developed by team "Bill Gates."
9
stars
4
forks
source link
[Improvement] Asynchronous Interaction with the Database
#60
Closed
ScottCTD
closed
1 year ago
ScottCTD
commented
1 year ago
Initiations
Now, our update-bill use case is very laggy.
We need to find a way to make our program smoother.
Design
In the
UpdateBillUseCase
, we can create 2 threads: The querier thread and the observer thread.
The querier thread is responsible for querying entries from the database.
The observer thread joins the querier thread. If the querier thread finishes its jobs, then the observer thread updates the GUI.
Initiations
Design
UpdateBillUseCase
, we can create 2 threads: The querier thread and the observer thread.