MCPcopy Index your code
hub / github.com/python/cpython / serverExplicitReady

Method serverExplicitReady

Lib/test/test_socket.py:408–413  ·  view source on GitHub ↗

This method allows the server to explicitly indicate that it wants the client thread to proceed. This is useful if the server is about to execute a blocking routine that is dependent upon the client thread during its setup routine.

(self)

Source from the content-addressed store, hash-verified

406 self.setUp = self._setUp
407
408 def serverExplicitReady(self):
409 """This method allows the server to explicitly indicate that
410 it wants the client thread to proceed. This is useful if the
411 server is about to execute a blocking routine that is
412 dependent upon the client thread during its setup routine."""
413 self.server_ready.set()
414
415 def _setUp(self):
416 self.enterContext(threading_helper.wait_threads_exit())

Callers 4

setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
setUpMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected