代码拉取完成,页面将自动刷新
同步操作将从 laozi2/ngx_thread 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_COMMON_H_INCLUDED_
#define _NGX_COMMON_H_INCLUDED_
//#include <ngx_config.h>
//#include <ngx_core.h>
//#if (NGX_THREADS)
#include <stdint.h>
//#include <sys/types.h>
//#include <sys/time.h>
#include <unistd.h>
//#include <stdarg.h>
//#include <stddef.h> /* offsetof() */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
#include <pthread.h>
#include <sys/syscall.h>
#define NGX_OK 0
#define NGX_ERROR -1
#define NGX_AGAIN -2
#define NGX_BUSY -3
#define NGX_DONE -4
#define NGX_DECLINED -5
#define NGX_ABORT -6
typedef intptr_t ngx_int_t;
typedef uintptr_t ngx_uint_t;
typedef int ngx_err_t;
//have sched.h
#define NGX_HAVE_SCHED_YIELD 1
#if (NGX_HAVE_SCHED_YIELD)
#define ngx_sched_yield() sched_yield()
#else
#define ngx_sched_yield() usleep(1)
#endif
#define ngx_memzero(buf, n) (void) memset(buf, 0, n)
#define ngx_memset(buf, c, n) (void) memset(buf, c, n)
#define NGX_LINUX 1
#endif /* _NGX_COMMON_H_INCLUDED_ */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。