[Box Backup-dev] COMMIT r843 - box/chris/retry-debug/bin/bbstored

Ben Summers boxbackup-dev@fluffy.co.uk
Thu, 31 Aug 2006 13:18:48 +0100


Actually if you do need housekeeping, now you have a  
LocalProcessStream thing working on Win32, you could use that to have  
a separate housekeeping process.


On 31 Aug 2006, at 13:13, Chris Wilson wrote:

> Hi Ben,
>
>> Probably not important as you can't use the server for real, but  
>> this stops the server from being able to detect and prevent two  
>> writeable connections at once. Should be documented somewhere at  
>> least, in comments here. I presume the store is marked as "for  
>> tests only" on Win32?
>
> Yes, it's actually impossible with the current design, since there  
> is no fork() on Windows and the shared variable make it dangerous  
> to use threads instead. So the server runs in a single process with  
> synchronous housekeeping. But I could reinstate the locks if you  
> prefer, since they don't actually do any harm.
>
> Cheers, Chris.
> -- 
> _ ___ __     _
>  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
> \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
> _______________________________________________
> Boxbackup-dev mailing list
> Boxbackup-dev@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup-dev