mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Removed comment about MONGOOSE_USE_STACK_SIZE
This commit is contained in:
1 parent
2e35e25935
commit
67b7d79710
1 file changed
-1
@@ -398,7 +398,6 @@ void *mg_start_thread(void *(*f)(void *), void *p) {
|
|||||||
(void) pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
(void) pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
||||||
|
|
||||||
#if MONGOOSE_USE_STACK_SIZE > 1
|
#if MONGOOSE_USE_STACK_SIZE > 1
|
||||||
// Compile-time option to control stack size, e.g. -DUSE_STACK_SIZE=16384
|
|
||||||
(void) pthread_attr_setstacksize(&attr, MONGOOSE_USE_STACK_SIZE);
|
(void) pthread_attr_setstacksize(&attr, MONGOOSE_USE_STACK_SIZE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user