MCPcopy Index your code
hub / github.com/RustPython/RustPython / serverExplicitReady

Method serverExplicitReady

Lib/test/test_socket.py:406–411  ·  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

404 self.setUp = self._setUp
405
406 def serverExplicitReady(self):
407 """This method allows the server to explicitly indicate that
408 it wants the client thread to proceed. This is useful if the
409 server is about to execute a blocking routine that is
410 dependent upon the client thread during its setup routine."""
411 self.server_ready.set()
412
413 def _setUp(self):
414 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