Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
2d156c6c
Commit
2d156c6c
authored
Jun 24, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose WS_MarkOverflow()
parent
4354e5e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cache.h
bin/varnishd/cache/cache.h
+1
-0
cache_ws.c
bin/varnishd/cache/cache_ws.c
+1
-1
No files found.
bin/varnishd/cache/cache.h
View file @
2d156c6c
...
...
@@ -1235,6 +1235,7 @@ void WRK_BgThread(pthread_t *thr, const char *name, bgthread_t *func,
void
WS_Init
(
struct
ws
*
ws
,
const
char
*
id
,
void
*
space
,
unsigned
len
);
unsigned
WS_Reserve
(
struct
ws
*
ws
,
unsigned
bytes
);
void
WS_MarkOverflow
(
struct
ws
*
ws
);
void
WS_Release
(
struct
ws
*
ws
,
unsigned
bytes
);
void
WS_ReleaseP
(
struct
ws
*
ws
,
char
*
ptr
);
void
WS_Assert
(
const
struct
ws
*
ws
);
...
...
bin/varnishd/cache/cache_ws.c
View file @
2d156c6c
...
...
@@ -85,7 +85,7 @@ WS_Init(struct ws *ws, const char *id, void *space, unsigned len)
}
static
void
void
WS_MarkOverflow
(
struct
ws
*
ws
)
{
CHECK_OBJ_NOTNULL
(
ws
,
WS_MAGIC
);
...
...
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