Follow-up Comment #8, patch #6353 (project duplicity):

Attached is a work-in-progress patch that I hope to finish up on tomorrow.

It is not yet ready for commit or even testing (parts are unimplemented). I
am posting it mostly to give anyone a chance to object to the design.

It introducing a threading package that is intended to contain a duplicity
aware support interface for threading related activities. 

It also creates a separate errors module for exception classes that do not
fit in a specific module.

It also creats an AsyncScheduler which will be used to schedule tasks for
asynchronous execution. The interface is designed to seamlessly support n:th
level concurrency in the future, though initially only concurrency 0 and 1
will be allowable in duplicity (with 0 translating into current synchronous
behavior, and 1 translating into the behavior by the initially proposed patch,
and >1 translating to concurrent upload/download). It supports simple barrier
semantics for dependency handling.

The AsyncScheduler is not yet implemented, and it has not been plugged into
and actually used by the rest of duplicity.


(file #14840)
    _______________________________________________________

Additional Item Attachment:

File name: duplicity_concurrency_checkpoint1.diff Size:10 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6353>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to