Skip to content

Commit bccf077

Browse files
committed
remove watchdog stuff
1 parent 419ff39 commit bccf077

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

player.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,11 @@ typedef struct {
167167
SOCKADDR remote, local;
168168
volatile int stop;
169169
volatile int running;
170-
volatile uint64_t watchdog_bark_time;
171-
volatile int watchdog_barks; // number of times the watchdog has timed out and done something
172170

173171
uint64_t playstart;
174172
uint64_t connection_start_time; // the time the device is selected, which could be a long time
175173
// before a play
176-
pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread,
177-
player_watchdog_thread;
174+
pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread;
178175

179176
// buffers to delete on exit
180177
int32_t *tbuf;
@@ -380,7 +377,6 @@ typedef struct {
380377
// request in flight at the same time
381378

382379
pthread_mutex_t reference_time_mutex;
383-
pthread_mutex_t watchdog_mutex;
384380

385381
double local_to_remote_time_gradient; // if no drift, this would be exactly 1.0; likely it's
386382
// slightly above or below.

0 commit comments

Comments
 (0)