[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003eThis API is for creating background threads that operate independently of their creator's context.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides a \u003ccode\u003eBackgroundThread\u003c/code\u003e class, similar to \u003ccode\u003ethreading.Thread\u003c/code\u003e, for managing these threads.\u003c/p\u003e\n"],["\u003cp\u003eThere are specific error classes, such as \u003ccode\u003eBackgroundThreadLimitReachedError\u003c/code\u003e and \u003ccode\u003eFrontendsNotSupported\u003c/code\u003e, for managing thread creation limitations and front-end compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003estart_new_background_thread\u003c/code\u003e lets you launch background threads within your application.\u003c/p\u003e\n"]]],[],null,["# Module: google.appengine.api.background_thread.background_thread\n\n\u003cbr /\u003e\n\nBackground Threads API.\n\nAn API for creating background threads.\n\nBackground threads created using this API do not inherit the context of their\ncreator and do not need to end before the creator request completes.\n\nClasses\n-------\n\n[`class BackgroundThread`](../../../../google/appengine/api/background_thread/BackgroundThread): A threading.Thread-like interface for background threads.\n\n[`class BackgroundThreadLimitReachedError`](../../../../google/appengine/api/background_thread/BackgroundThreadLimitReachedError): Error raised when no further active background threads can be created.\n\n[`class Error`](../../../../google/appengine/api/background_thread/Error): Base exception class for this module.\n\n[`class FrontendsNotSupported`](../../../../google/appengine/api/background_thread/FrontendsNotSupported): Error raised when a background thread is requested on a front end.\n\nFunctions\n---------\n\n[`start_new_background_thread(...)`](../../../../google/appengine/api/background_thread/start_new_background_thread): Starts a new background thread."]]