I am using Web server in my project. when you call mg_stop function server he
closed 2 out of 5 threads. 2 threads stopped in function "consume_socket" in
line
"pthread_cond_wait(&ctx->sq_full, &ctx->mutex);"
if add this changes problem be solved
void mg_stop(struct mg_context *ctx) {
ctx->stop_flag = 1;
//This line added
pthread_cond_signal(&ctx->sq_full);
....
What version of the product are you using? On what operating system?
Windows 7
mongoose 3.00 (This error occurs as in the previous version)
Original issue reported on code.google.com by TaLiB300...@gmail.com on 22 Jun 2011 at 12:22
Original issue reported on code.google.com by
TaLiB300...@gmail.com
on 22 Jun 2011 at 12:22