mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
Fix build
This commit is contained in:
1 parent
2a3492766f
commit
fb0a9bc7e3
11 files changed
+22
-16
No files matched your search
@@ -36,7 +36,7 @@ static void start_thread(void (*f)(void *), void *p) {
|
||||
|
||||
static void thread_function(void *param) {
|
||||
struct mg_connection *c = param; // Pipe connection
|
||||
mg_usleep(2 * 1000000); // Simulate long execution
|
||||
sleep(2); // Simulate long execution
|
||||
mg_mgr_wakeup(c); // Wakeup event manager
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user