diff options
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/thread.c b/src/thread.c index f5b04e4b231..11d55a5caef 100644 --- a/src/thread.c +++ b/src/thread.c @@ -143,8 +143,6 @@ lisp_mutex_lock (lisp_mutex_t *mutex, int new_count) static int lisp_mutex_unlock (lisp_mutex_t *mutex) { - struct thread_state *self = current_thread; - if (mutex->owner != current_thread) error ("blah"); @@ -160,7 +158,6 @@ lisp_mutex_unlock (lisp_mutex_t *mutex) static unsigned int lisp_mutex_unlock_for_wait (lisp_mutex_t *mutex) { - struct thread_state *self = current_thread; unsigned int result = mutex->count; /* Ensured by condvar code. */ @@ -601,9 +598,6 @@ DEFUN ("thread-yield", Fthread_yield, Sthread_yield, 0, 0, 0, static Lisp_Object invoke_thread_function (void) { - Lisp_Object iter; - volatile struct thread_state *self = current_thread; - int count = SPECPDL_INDEX (); Ffuncall (1, ¤t_thread->function); |
