ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Publisher.hpp
(Generate patch)

Comparing trunk/Publisher.hpp (file contents):
Revision 14 by douglas, 2004-07-11T23:49:09-07:00 vs.
Revision 15 by douglas, 2004-07-13T20:14:49-07:00

# Line 12 | Line 12
12   class Publisher
13   {
14   private:
15 <        //
15 >        bool start;
16 >        api::Thread publisher;
17 >        int publish(const std::set<Buddy>& buddies);
18   public:
19 <        Publisher(const std::set<Buddy>& buddies);
20 <        ~Publisher() {}
19 >        Publisher(const std::set<Buddy>& buddies, bool start);
20 >        ~Publisher() { if (start) publisher.Join(); }
21          //
22   };
23  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines