Use user timeout in multithreading polling

PUBLISHED_FROM=dbf75bfba087f1b0aa0531e5003ba3e69ed1a6ab
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-09-12 14:21:05 +00:00
1 parent d9b7ec18e7
commit 4cbf81da59
4 files changed
+49 -3

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ items:
- { name: struct_mg_add_sock_opts.md }
- { name: struct_mg_bind_opts.md }
- { name: struct_mg_connect_opts.md }
- { name: struct_mg_multithreading_opts.md }
---
NOTE: Mongoose manager is single threaded. It does not protect
@@ -0,0 +1,12 @@
---
title: "struct mg_multithreading_opts"
decl_name: "struct mg_multithreading_opts"
symbol_kind: "struct"
signature: |
struct mg_multithreading_opts {
int poll_timeout; /* Polling interval */
};
---
Optional parameters for mg_enable_multithreading_opt()