Free the platform service resources for the current thread specified by the caller.
BPS_API void bps_shutdown(void)
When an application calls the bps_initialize() function multiple times, the application must call the bps_shutdown() function the same number of times. For multi-threaded applications, threads that call the bps_initialize() function should call the bps_shutdown() function prior to the thread terminating.
Resources that are used by the BPS library are freed only after the bps_shutdown() function is called the same number of times that the bps_initialize() function is called. In addition, all callbacks registered with the bps_register_shutdown_handler() function are called. The application must not call any other BPS library functions after this function completes.