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
6460bff2
Commit
6460bff2
authored
Jan 20, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename busyobj_state_e to boc_state_e
parent
9d2255a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
cache.h
bin/varnishd/cache/cache.h
+4
-4
cache_obj.c
bin/varnishd/cache/cache_obj.c
+2
-2
No files found.
bin/varnishd/cache/cache.h
View file @
6460bff2
...
...
@@ -381,7 +381,7 @@ struct storeobj {
/*
* The macro-states we expose outside the fetch code
*/
enum
b
usyobj
_state_e
{
enum
b
oc
_state_e
{
BOS_INVALID
=
0
,
/* don't touch (yet) */
BOS_REQ_DONE
,
/* beresp.* can be examined */
BOS_STREAM
,
/* beresp.* can be examined */
...
...
@@ -396,7 +396,7 @@ struct boc {
struct
lock
mtx
;
pthread_cond_t
cond
;
void
*
stevedore_priv
;
enum
b
usyobj
_state_e
state
;
enum
b
oc
_state_e
state
;
uint8_t
*
vary
;
struct
busyobj
*
busyobj
;
...
...
@@ -853,8 +853,8 @@ int ObjIterate(struct worker *, struct objcore *,
int
ObjGetSpace
(
struct
worker
*
,
struct
objcore
*
,
ssize_t
*
sz
,
uint8_t
**
ptr
);
void
ObjExtend
(
struct
worker
*
,
struct
objcore
*
,
struct
boc
*
,
ssize_t
l
);
ssize_t
ObjWaitExtend
(
struct
worker
*
,
struct
objcore
*
,
struct
boc
*
,
ssize_t
l
);
void
ObjSetState
(
struct
boc
*
,
enum
b
usyobj
_state_e
next
);
void
ObjWaitState
(
struct
boc
*
,
enum
b
usyobj
_state_e
want
);
void
ObjSetState
(
struct
boc
*
,
enum
b
oc
_state_e
next
);
void
ObjWaitState
(
struct
boc
*
,
enum
b
oc
_state_e
want
);
void
ObjTrimStore
(
struct
worker
*
,
struct
objcore
*
);
void
ObjTouch
(
struct
worker
*
wrk
,
struct
objcore
*
oc
,
double
now
);
unsigned
ObjGetXID
(
struct
worker
*
,
struct
objcore
*
);
...
...
bin/varnishd/cache/cache_obj.c
View file @
6460bff2
...
...
@@ -155,7 +155,7 @@ ObjWaitExtend(struct worker *wrk, struct objcore *oc, struct boc *boc,
*/
void
ObjSetState
(
struct
boc
*
boc
,
enum
b
usyobj
_state_e
next
)
ObjSetState
(
struct
boc
*
boc
,
enum
b
oc
_state_e
next
)
{
CHECK_OBJ_NOTNULL
(
boc
,
BOC_MAGIC
);
...
...
@@ -172,7 +172,7 @@ ObjSetState(struct boc *boc, enum busyobj_state_e next)
*/
void
ObjWaitState
(
struct
boc
*
boc
,
enum
b
usyobj
_state_e
want
)
ObjWaitState
(
struct
boc
*
boc
,
enum
b
oc
_state_e
want
)
{
CHECK_OBJ_NOTNULL
(
boc
,
BOC_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