monotone-commits-nodiffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-nodiffs] Revision afd4c09aa19e2a4508045c8127267f86ca92


From: monotone
Subject: [Monotone-commits-nodiffs] Revision afd4c09aa19e2a4508045c8127267f86ca920505
Date: Tue, 15 Jul 2008 13:48:20 +0200

-----------------------------------------------------------------
Revision: afd4c09aa19e2a4508045c8127267f86ca920505
Ancestor: a114a33fa035a709749a7e4b53787c895d702caa
Author: address@hidden
Date: 2008-07-15T11:43:45
Branch: net.venge.monotone.threaded

Modified files:
        file_io.hh threads.hh work.cc

ChangeLog: 

 * Changed the worker_pool template to just take an input and an output
   shared_ptr for every task.
 * Removed the callback thingie.
 * Added a file_hash_calc_task, which does the sha1 calculation. Use that
   in the speed critical workspace::update_current_roster_from_filesystem()
   method and others. It's not threaded, yet, but it is asynchronous in the
   sense that it collects tasks first and then waits for their execution
   before proceeding.
 * Use a shared_ptr with a custom no-op deallocator for the resulting
   file_id. That's somewhat dangerous in that the object we point to could
   be freed before the shared_ptr. We must manually take care of that.


monotone --db={your.database} diff 
--revision=a114a33fa035a709749a7e4b53787c895d702caa 
--revision=afd4c09aa19e2a4508045c8127267f86ca920505
----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]