~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/ngx_slab.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 * Copyright (C) Igor Sysoev
 
4
 * Copyright (C) Nginx, Inc.
4
5
 */
5
6
 
6
7
 
22
23
 
23
24
 
24
25
typedef struct {
25
 
    ngx_atomic_t      lock;
 
26
    ngx_shmtx_sh_t    lock;
26
27
 
27
28
    size_t            min_size;
28
29
    size_t            min_shift;
34
35
    u_char           *end;
35
36
 
36
37
    ngx_shmtx_t       mutex;
 
38
 
 
39
    u_char           *log_ctx;
 
40
    u_char            zero;
 
41
 
 
42
    void             *data;
 
43
    void             *addr;
37
44
} ngx_slab_pool_t;
38
45
 
39
46