<div class="gmail_quote">On Tue, Sep 20, 2011 at 7:52 AM, Ajay Garg <span dir="ltr"><<a href="mailto:ajaygargnsit@gmail.com">ajaygargnsit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
=== Usability notes ===<br>
<br>
1. Now, besides an interactive 'Software Update', a background<br>
thread also checks for available activity updates. To prevent<br>
possible collisions in a rare situation when the interactive<br>
session and the background thread might run at the same time,<br>
synchronization has been used.<br>
<br>
2. When a user enters into 'Software Update' section-view,<br>
exclusive control is gained. The exclusive control is<br>
retained unless and until this section-view is exited<br>
(via 'Cancel' or 'Ok' toolbar buttons).<br>
<br>
If the background thread wishes to run, it waits,<br>
while the user interacts with the section-view.<br>
<br>
3. If the background thread is running, it has exclusive control.<br>
If the user wishes to enter into an interactive session (by<br>
clicking onto the 'Software Update' section-view-icon),<br>
following happens :<br>
<br>
a. The section-view shows 'Getting ready...' markup,<br>
with the message 'Waiting for activity-update-<br>
notifier thread to relinquish control...'<br></blockquote><div><br></div><div>This message would be friendlier to Learners with more general terms, such as, 'Waiting for the automatic update check to complete...'</div>
<div><br></div><div> Thanks for the engineering and documentation!</div><div> --Fred</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
b. The (interactive) thread waits, until the background<br>
thread relinquishes control.<br>
c. After the (exclusive) control is retained, the<br>
interactive thread proceeds normally, checking<br>
for updates, followed by user-wish of installing<br>
updates.<br>{...}</blockquote><div> </div></div><br>