chesterpolo / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Exit Mongoose via Ctrl C #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. downloaded source code version 2.9 and compiled it with mingw
2. start the executable
3. try to stop it with CTRL C

What is the expected output? What do you see instead?
What I see: "Exiting on Signal 2, waiting for all threads to finish..." and 
waiting forever
What I expect: that someday all threads are closed

What version of the product are you using? On what operating system?
Win XP, Mingw 4.5.6, Mongoose 2.9

Please provide any additional information below.
I think the problem is missing mg_fini() function. 

Original issue reported on code.google.com by Ritterbrater@gmail.com on 14 Sep 2010 at 11:17

GoogleCodeExporter commented 9 years ago
This is fixed in 2.10 - the problem was incorrect pthread_cond_broadcast() 
implementation.

Original comment by valenok on 14 Sep 2010 at 12:06

GoogleCodeExporter commented 9 years ago
Ok sorry!
THX!

Original comment by Ritterbrater@gmail.com on 14 Sep 2010 at 12:51