Changes between Version 2 and Version 3 of Developer/Mongoose_Web_Server


Ignore:
Timestamp:
Jan 2, 2016, 3:26:33 AM (4 years ago)
Author:
Nick Withers
Comment:

Be specific about the resources required

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Mongoose_Web_Server

    v2 v3  
    2929=  CONFIGURE / confdefs.h  =
    3030
    31 Mongoose uses the POSIX API and its mutex and condition variable features and thus resources must be allocated for it in the application's configuration. For example, add the following before including ''confdefs.h'' (with ''CONFIGURE_INIT'' #defined):
    32 {{{
    33 #define CONFIGURE_MAXIMUM_POSIX_THREADS 10
    34 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10
    35 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
    36 }}}
     31Mongoose uses the POSIX API and its mutex and condition variable features and thus resources must be allocated for it in the application's configuration.
     32
     33It uses:
     34* One POSIX "master" thread
     35* A number of POSIX worker threads, depending on the number requested when starting Mongoose
     36* Two libio file descriptors for each worker thread
     37* Three POSIX condition variables
     38* One POSIX mutex
    3739
    3840=  Initializing Mongoose  =