Remove the useless main_thread_id and fix the MPRIS quit handler.

This commit is contained in:
Mike Brady
2022-10-11 09:45:47 +01:00
parent 491cbf6b5c
commit f775267d02
4 changed files with 6 additions and 11 deletions
+1 -4
View File
@@ -37,7 +37,7 @@ typedef enum {
typedef enum {
TOE_normal,
TOE_emergency,
TOE_dbus // a dbus request was made -- don't wait for the dbus thread to exit
TOE_dbus // a request was made on a D-Bus interface (the native D-Bus or MPRIS interfaces)-- don't wait for the dbus thread to exit
} type_of_exit_type;
#define sps_extra_code_output_stalled 32768
@@ -401,9 +401,6 @@ extern uint64_t ns_time_at_startup, ns_time_at_last_debug_message;
uint32_t uatoi(const char *nptr);
// this is for allowing us to cancel the whole program
extern pthread_t main_thread_id;
extern shairport_cfg config;
extern config_t config_file_stuff;
extern int type_of_exit_cleanup; // normal, emergency, dbus requested...