~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/server.py

  • Committer: Vincent Ladeuil
  • Date: 2011-05-28 09:10:36 UTC
  • mto: This revision was merged to the branch mainline in revision 5938.
  • Revision ID: v.ladeuil+lp@free.fr-20110528091036-c82o6sozffi0q6ey
Tsk, tsk, that's not the issue at all, the race is in the test framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
 
137
137
    def serve(self, thread_name_suffix=''):
138
138
        self._should_terminate = False
139
 
        self._started.set()
140
139
        # for hooks we are letting code know that a server has started (and
141
140
        # later stopped).
142
141
        self.run_server_started_hooks()
 
142
        self._started.set()
143
143
        try:
144
144
            try:
145
145
                while not self._should_terminate: