Remove the useless main_thread_id and fix the MPRIS quit handler.
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user