Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
4502dd0c
Commit
4502dd0c
authored
Mar 03, 2015
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/MONGOOSE_NO_THREADS/MONGOOSE_ENABLE_THREADS
parent
95055f60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Embed.md
docs/Embed.md
+1
-1
mongoose.c
mongoose.c
+2
-2
No files found.
docs/Embed.md
View file @
4502dd0c
...
...
@@ -149,7 +149,7 @@ all Net Skeleton functions will be available too.
-DMONGOOSE_NO_DIRECTORY_LISTING Disable directory listing
-DMONGOOSE_NO_FILESYSTEM Disables all file IO, serving from memory only
-DMONGOOSE_NO_LOGGING Disable access/error logging
-DMONGOOSE_
NO_THREADS
-DMONGOOSE_
ENABLE_THREADS Enable mg_start_thread() function
-DMONGOOSE_NO_WEBSOCKET Disable WebSocket support
-DMONGOOSE_NO_USER No concept of a user on used platform.
(Platform does not provide getpwnam, setgid or setuid)
...
...
mongoose.c
View file @
4502dd0c
...
...
@@ -1561,11 +1561,11 @@ static const struct {
{
NULL
,
0
,
NULL
}
};
#if
ndef MONGOOSE_NO
_THREADS
#if
def MONGOOSE_ENABLE
_THREADS
void
*
mg_start_thread
(
void
*
(
*
f
)(
void
*
),
void
*
p
)
{
return
ns_start_thread
(
f
,
p
);
}
#endif // MONGOOSE_
NO
_THREADS
#endif // MONGOOSE_
ENABLE
_THREADS
#ifndef MONGOOSE_NO_MMAP
#ifdef _WIN32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment