On branch day27, I’ve changed image.py (link) to do SQLite saving/loading of images.
Look at the changes to server.py on day27-threading (link) and day27-async (link).
Question – does the ‘add_image’ function (lines 35-54) in image.py need to be protected from concurrent execution in (a) threading and (b) async?
If (a) threading is YES and (b) async is YES, choose pink.
If (a) threading is YES and (b) async is NO, choose green.
If (a) threading is NO and (b) async is YES, choose yellow.
If (a) threading is NO and (b) async is NO, choose blue.
This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.
For an introduction to the documentation format please see the reST primer.