Skip to content
Snippets Groups Projects
Commit 061be404 authored by rswindell's avatar rswindell
Browse files

Added comment regarding deadlock.

parent 02761751
Branches
Tags
No related merge requests found
......@@ -220,7 +220,7 @@ size_t conn_buf_wait_cond(struct conn_buffer *buf, size_t bcount, unsigned long
}
if(sem_trywait_block(sem, timeleft))
retnow=1;
pthread_mutex_lock(&(buf->mutex));
pthread_mutex_lock(&(buf->mutex)); /* term.c data_waiting() blocks here, seemingly forever */
found=cond(buf);
if(found > bcount)
found=bcount;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment