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

Method accept_connection

Lib/multiprocessing/managers.py:418–424  ·  view source on GitHub ↗

Spawn a new thread to serve this connection

(self, c, name)

Source from the content-addressed store, hash-verified

416 return tuple(self.id_to_obj[token.id][1])
417
418 def accept_connection(self, c, name):
419 '''
420 Spawn a new thread to serve this connection
421 '''
422 threading.current_thread().name = name
423 c.send(('#RETURN', None))
424 self.serve_client(c)
425
426 def incref(self, c, ident):
427 with self.mutex:

Callers

nothing calls this directly

Calls 2

serve_clientMethod · 0.95
sendMethod · 0.45

Tested by

no test coverage detected