comparison src/os/win32/ngx_alloc.c @ 860:201d017ea470

slab allocator in shared memory
author Igor Sysoev <igor@sysoev.ru>
date Mon, 20 Nov 2006 08:51:45 +0000
parents d4e858a5751a
children 93e8daca5dbb
comparison
equal deleted inserted replaced
859:d1e8c59a50ee 860:201d017ea470
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 9
10 10
11 int ngx_pagesize; 11 ngx_uint_t ngx_pagesize;
12 ngx_uint_t ngx_pagesize_shift;
12 ngx_uint_t ngx_cacheline_size; 13 ngx_uint_t ngx_cacheline_size;
13 14
14 15
15 void *ngx_alloc(size_t size, ngx_log_t *log) 16 void *ngx_alloc(size_t size, ngx_log_t *log)
16 { 17 {