Hi William, I''ve attached the base LockManager class that I''m envisioning for sup. It''s still rough, but the basic functionality is in place. I think it should stand up to the potential contention between PollManager and SentManager. If it looks reasonable, I''ll flesh it out with some timeouts and exception handling. Let me know. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting. -------------- next part -------------- A non-text attachment was scrubbed... Name: lock.rb Type: application/octet-stream Size: 3575 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090609/e56ad52c/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090609/e56ad52c/attachment.bin>
Hi Ben, Reformatted excerpts from Ben Walton''s message of 2009-06-09:> I''ve attached the base LockManager class that I''m envisioning for sup.Sorry for the delay. This looks good. Using a mutex to protect the file-locking seems like the right idea. Carry on! -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Mon Jun 15 13:24:08 -0400 2009:> Sorry for the delay. This looks good. Using a mutex to protect the > file-locking seems like the right idea. Carry on!Yah, now that ''stupid Kobe'' beat the Magic last night, my evenings should have more time for completing this. I''m just about finished integrating it with the mbox code. I''ve branched this from bw/flexible_sent, since I thought it made more sense to go from that than from master w/o the flexible sent parts...it should still merge decently for you, I think. The next hurdle will be testing, which I''ll need help for, since my only mbox is sup://sent, which is now legacy only (and at some point when I''m bored will disappear completely). Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090615/499ca4b3/attachment.bin>
Reformatted excerpts from Ben Walton''s message of 2009-06-15:> I''ve branched this from bw/flexible_sent, since I thought it made more > sense to go from that than from master w/o the flexible sent > parts...it should still merge decently for you, I think.That''s fine. As long as it doesn''t branch from next, I''m happy.> The next hurdle will be testing, which I''ll need help for, since my > only mbox is sup://sent, which is now legacy only (and at some point > when I''m bored will disappear completely).Although the addressess are (trivially) mangled, you can use something like http://rubyforge.org/pipermail/sup-talk/2009-June.txt. -- William <wmorgan-sup at masanjin.net>