Namespaces | Functions | Variables
examples/python/multiprocessing/client.py File Reference

Go to the source code of this file.

Namespaces

 client
 

Functions

def client._calculate_primes (server_address)
 
def client._initialize_worker (server_address)
 
def client._run_worker_query (primality_candidate)
 
def client._shutdown_worker ()
 
def client.main ()
 

Variables

int client._MAXIMUM_CANDIDATE = 10000
 
int client._PROCESS_COUNT = 8
 
 client._worker_channel_singleton = None
 
 client._worker_stub_singleton = None
 
 client.formatter = logging.Formatter('[PID %(process)d] %(message)s')
 
 client.handler = logging.StreamHandler(sys.stdout)
 


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:02:03