mongoose problems
bin.wang at qkmtech.com
bin.wang at qkmtech.com
Thu May 10 10:58:36 UTC 2018
hi everyone
i want to use mongoose
i find the follows in the internet
----------------------------------------------------------------------------------------------------------
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.
It uses:
One POSIX "master" thread
A number of POSIX worker threads, depending on the number requested when starting Mongoose
Two libio file descriptors for each worker thread
Three POSIX condition variables
One POSIX mutex
and moogoose library must be pulled in for linking
LD_LIBS+=-lmghttpd
-----------------------------------------------------------------------------------------------
problem1:
i do not understand what the how to config the "master" thread?
i just config #define CONFIGURE_MAXIMUM_POSIX_THREADS 8 ,
is this include the "master" thread?
problem2:
should i add the mghttpd lib into my project link config? but i do not find the libmghttpd.a in the rtems intall directory ? i think moogoose is just a part of libbsd ,so ,is libbsd.a include this function ?
bin.wang at qkmtech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180510/a19662b5/attachment.html>
More information about the users
mailing list