When using the Python client, will the background thread exit when the program exits?

Follow

Yes.

The AMPS Python client is a wrapper around the AMPS C++ client. The background reader thread is created in the C++ client, using the standard pthreads API. This thread will end gracefully when you exit the program without requiring any special handling.

 

keywords: python thread, daemon thread, program exit

Have more questions? Submit a request

Comments

Powered by Zendesk