diff options
| author | Tom Tromey | 2012-08-19 03:25:06 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-19 03:25:06 -0600 |
| commit | 977c4aa65f42a1cf2c07ea92a6190c18c349b2e7 (patch) | |
| tree | 6cfd7c2e734709490de8dc9d9bbf78c6f4f35235 /src | |
| parent | 5651640d578fa2efa40be4789d9fa61813ccb1fa (diff) | |
| download | emacs-977c4aa65f42a1cf2c07ea92a6190c18c349b2e7.tar.gz emacs-977c4aa65f42a1cf2c07ea92a6190c18c349b2e7.zip | |
use NILP
Diffstat (limited to 'src')
| -rw-r--r-- | src/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/thread.c b/src/thread.c index 4657d6a797e..83f25e8d462 100644 --- a/src/thread.c +++ b/src/thread.c | |||
| @@ -61,7 +61,7 @@ post_acquire_global_lock (struct thread_state *self) | |||
| 61 | self->m_current_buffer = 0; | 61 | self->m_current_buffer = 0; |
| 62 | set_buffer_internal (XBUFFER (buffer)); | 62 | set_buffer_internal (XBUFFER (buffer)); |
| 63 | 63 | ||
| 64 | if (!EQ (current_thread->error_symbol, Qnil)) | 64 | if (!NILP (current_thread->error_symbol)) |
| 65 | { | 65 | { |
| 66 | Lisp_Object sym = current_thread->error_symbol; | 66 | Lisp_Object sym = current_thread->error_symbol; |
| 67 | Lisp_Object data = current_thread->error_data; | 67 | Lisp_Object data = current_thread->error_data; |
| @@ -110,7 +110,7 @@ lisp_mutex_lock (lisp_mutex_t *mutex, int new_count) | |||
| 110 | self = current_thread; | 110 | self = current_thread; |
| 111 | self->wait_condvar = &mutex->condition; | 111 | self->wait_condvar = &mutex->condition; |
| 112 | while (mutex->owner != NULL && (new_count != 0 | 112 | while (mutex->owner != NULL && (new_count != 0 |
| 113 | || EQ (self->error_symbol, Qnil))) | 113 | || NILP (self->error_symbol))) |
| 114 | sys_cond_wait (&mutex->condition, &global_lock); | 114 | sys_cond_wait (&mutex->condition, &global_lock); |
| 115 | self->wait_condvar = NULL; | 115 | self->wait_condvar = NULL; |
| 116 | 116 | ||
| @@ -796,7 +796,7 @@ thread_join_callback (void *arg) | |||
| 796 | XSETTHREAD (thread, tstate); | 796 | XSETTHREAD (thread, tstate); |
| 797 | self->event_object = thread; | 797 | self->event_object = thread; |
| 798 | self->wait_condvar = &tstate->thread_condvar; | 798 | self->wait_condvar = &tstate->thread_condvar; |
| 799 | while (tstate->m_specpdl != NULL && EQ (self->error_symbol, Qnil)) | 799 | while (tstate->m_specpdl != NULL && NILP (self->error_symbol)) |
| 800 | sys_cond_wait (self->wait_condvar, &global_lock); | 800 | sys_cond_wait (self->wait_condvar, &global_lock); |
| 801 | 801 | ||
| 802 | self->wait_condvar = NULL; | 802 | self->wait_condvar = NULL; |