From 0a7976238807cc673172be70c3e60d70eb18acc7 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 5 Jan 2024 09:09:22 -1000 Subject: [PATCH] SCP: Remove remnants of previously removed async TMXR pieces --- scp.c | 3 --- sim_scp_private.h | 7 ------- 2 files changed, 10 deletions(-) diff --git a/scp.c b/scp.c index 7a509aa1..8f330cb5 100644 --- a/scp.c +++ b/scp.c @@ -361,9 +361,6 @@ pthread_cond_t sim_asynch_wake = PTHREAD_COND_INITIALIZER; pthread_mutex_t sim_timer_lock = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t sim_timer_wake = PTHREAD_COND_INITIALIZER; -pthread_mutex_t sim_tmxr_poll_lock = PTHREAD_MUTEX_INITIALIZER; -pthread_cond_t sim_tmxr_poll_cond = PTHREAD_COND_INITIALIZER; -int32 sim_tmxr_poll_count; pthread_t sim_asynch_main_threadid; UNIT * volatile sim_asynch_queue; t_bool sim_asynch_enabled = TRUE; diff --git a/sim_scp_private.h b/sim_scp_private.h index 6a053f23..f6933490 100644 --- a/sim_scp_private.h +++ b/sim_scp_private.h @@ -188,9 +188,6 @@ extern pthread_cond_t sim_asynch_wake; extern pthread_mutex_t sim_timer_lock; extern pthread_cond_t sim_timer_wake; extern t_bool sim_timer_event_canceled; -extern int32 sim_tmxr_poll_count; -extern pthread_cond_t sim_tmxr_poll_cond; -extern pthread_mutex_t sim_tmxr_poll_lock; extern pthread_t sim_asynch_main_threadid; extern UNIT * volatile sim_asynch_queue; extern volatile t_bool sim_idle_wait; @@ -265,8 +262,6 @@ extern int32 sim_asynch_inst_latency; pthread_cond_destroy(&sim_asynch_wake); \ pthread_mutex_destroy(&sim_timer_lock); \ pthread_cond_destroy(&sim_timer_wake); \ - pthread_mutex_destroy(&sim_tmxr_poll_lock); \ - pthread_cond_destroy(&sim_tmxr_poll_cond); \ } while (0) #ifdef _WIN32 #elif defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8) @@ -311,8 +306,6 @@ extern int32 sim_asynch_inst_latency; pthread_cond_destroy(&sim_asynch_wake); \ pthread_mutex_destroy(&sim_timer_lock); \ pthread_cond_destroy(&sim_timer_wake); \ - pthread_mutex_destroy(&sim_tmxr_poll_lock); \ - pthread_cond_destroy(&sim_tmxr_poll_cond); \ } while (0) #define AIO_ILOCK AIO_LOCK #define AIO_IUNLOCK AIO_UNLOCK