亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apr_global_mutex.h

?? Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
?? H
字號:
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
 * applicable.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef APR_GLOBAL_MUTEX_H
#define APR_GLOBAL_MUTEX_H

/**
 * @file apr_global_mutex.h
 * @brief APR Global Locking Routines
 */

#include "apr.h"
#include "apr_proc_mutex.h"    /* only for apr_lockmech_e */
#include "apr_pools.h"
#include "apr_errno.h"
#if APR_PROC_MUTEX_IS_GLOBAL
#include "apr_proc_mutex.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/**
 * @defgroup APR_GlobalMutex Global Locking Routines
 * @ingroup APR 
 * @{
 */

#if !APR_PROC_MUTEX_IS_GLOBAL || defined(DOXYGEN)

/** Opaque global mutex structure. */
typedef struct apr_global_mutex_t apr_global_mutex_t;

/*   Function definitions */

/**
 * Create and initialize a mutex that can be used to synchronize both
 * processes and threads. Note: There is considerable overhead in using
 * this API if only cross-process or cross-thread mutual exclusion is
 * required. See apr_proc_mutex.h and apr_thread_mutex.h for more
 * specialized lock routines.
 * @param mutex the memory address where the newly created mutex will be
 *        stored.
 * @param fname A file name to use if the lock mechanism requires one.  This
 *        argument should always be provided.  The lock code itself will
 *        determine if it should be used.
 * @param mech The mechanism to use for the interprocess lock, if any; one of
 * <PRE>
 *            APR_LOCK_FCNTL
 *            APR_LOCK_FLOCK
 *            APR_LOCK_SYSVSEM
 *            APR_LOCK_POSIXSEM
 *            APR_LOCK_PROC_PTHREAD
 *            APR_LOCK_DEFAULT     pick the default mechanism for the platform
 * </PRE>
 * @param pool the pool from which to allocate the mutex.
 * @warning Check APR_HAS_foo_SERIALIZE defines to see if the platform supports
 *          APR_LOCK_foo.  Only APR_LOCK_DEFAULT is portable.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_create(apr_global_mutex_t **mutex,
                                                  const char *fname,
                                                  apr_lockmech_e mech,
                                                  apr_pool_t *pool);

/**
 * Re-open a mutex in a child process.
 * @param mutex The newly re-opened mutex structure.
 * @param fname A file name to use if the mutex mechanism requires one.  This
 *              argument should always be provided.  The mutex code itself will
 *              determine if it should be used.  This filename should be the 
 *              same one that was passed to apr_global_mutex_create().
 * @param pool The pool to operate on.
 * @remark This function must be called to maintain portability, even
 *         if the underlying lock mechanism does not require it.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_child_init(
                              apr_global_mutex_t **mutex,
                              const char *fname,
                              apr_pool_t *pool);

/**
 * Acquire the lock for the given mutex. If the mutex is already locked,
 * the current thread will be put to sleep until the lock becomes available.
 * @param mutex the mutex on which to acquire the lock.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_lock(apr_global_mutex_t *mutex);

/**
 * Attempt to acquire the lock for the given mutex. If the mutex has already
 * been acquired, the call returns immediately with APR_EBUSY. Note: it
 * is important that the APR_STATUS_IS_EBUSY(s) macro be used to determine
 * if the return value was APR_EBUSY, for portability reasons.
 * @param mutex the mutex on which to attempt the lock acquiring.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_trylock(apr_global_mutex_t *mutex);

/**
 * Release the lock for the given mutex.
 * @param mutex the mutex from which to release the lock.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_unlock(apr_global_mutex_t *mutex);

/**
 * Destroy the mutex and free the memory associated with the lock.
 * @param mutex the mutex to destroy.
 */
APR_DECLARE(apr_status_t) apr_global_mutex_destroy(apr_global_mutex_t *mutex);

/**
 * Get the pool used by this global_mutex.
 * @return apr_pool_t the pool
 */
APR_POOL_DECLARE_ACCESSOR(global_mutex);

#else /* APR_PROC_MUTEX_IS_GLOBAL */

/* Some platforms [e.g. Win32] have cross process locks that are truly
 * global locks, since there isn't the concept of cross-process locks.
 * Define these platforms in terms of an apr_proc_mutex_t.
 */

#define apr_global_mutex_t          apr_proc_mutex_t
#define apr_global_mutex_create     apr_proc_mutex_create
#define apr_global_mutex_child_init apr_proc_mutex_child_init
#define apr_global_mutex_lock       apr_proc_mutex_lock
#define apr_global_mutex_trylock    apr_proc_mutex_trylock
#define apr_global_mutex_unlock     apr_proc_mutex_unlock
#define apr_global_mutex_destroy    apr_proc_mutex_destroy
#define apr_global_mutex_pool_get   apr_proc_mutex_pool_get

#endif

/** @} */

#ifdef __cplusplus
}
#endif

#endif  /* ndef APR_GLOBAL_MUTEX_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久影院| 国产精品一区二区男女羞羞无遮挡 | 中文字幕一区二区三区在线观看 | 国产色一区二区| 五月天亚洲精品| 色伊人久久综合中文字幕| 日韩美女视频一区二区在线观看| 中文字幕乱码日本亚洲一区二区| 亚洲第四色夜色| 91国产免费看| 国产精品久久久久影院色老大| 另类专区欧美蜜桃臀第一页| 91精品福利视频| 中文字幕日本不卡| 成人三级伦理片| 久久久久久麻豆| 久久成人久久爱| 欧美一卡二卡在线| 天使萌一区二区三区免费观看| 91麻豆精品一区二区三区| 国产精品美女久久久久久久网站| 国产一区999| 国产欧美日韩另类视频免费观看| 天堂精品中文字幕在线| 欧美日韩在线精品一区二区三区激情 | 亚洲精品日韩一| 91视频精品在这里| 中文字幕在线一区| 91色|porny| 亚洲欧洲在线观看av| 成人国产精品视频| 国产精品理论在线观看| 99久久er热在这里只有精品15| 自拍偷自拍亚洲精品播放| 成人精品一区二区三区四区| 国产日韩欧美在线一区| 国产成人精品一区二区三区网站观看| 久久午夜电影网| 国精品**一区二区三区在线蜜桃| 精品国产sm最大网站免费看| 国产综合色在线| 中文文精品字幕一区二区| 成人小视频免费在线观看| 成人免费在线观看入口| 欧美午夜精品免费| 蜜臀久久久99精品久久久久久| 日韩精品影音先锋| 国产精品亚洲专一区二区三区| 中文字幕不卡在线| 在线看国产日韩| 蜜桃av一区二区三区电影| 欧美激情一区三区| 色94色欧美sute亚洲线路一ni| 亚洲国产精品久久久男人的天堂| 欧美乱熟臀69xxxxxx| 国产做a爰片久久毛片| 国产精品美女视频| 国产女主播视频一区二区| 国产福利精品导航| 国产精品剧情在线亚洲| 91国偷自产一区二区使用方法| 亚洲高清免费在线| 欧美成人一区二区| 99久久久无码国产精品| 五月天中文字幕一区二区| 久久网站最新地址| 在线一区二区视频| 国产一区不卡在线| 一区二区三区91| 久久久久久影视| 欧美在线观看一二区| 麻豆成人91精品二区三区| 国产精品免费aⅴ片在线观看| 精品视频一区 二区 三区| 久99久精品视频免费观看| 日韩美女啊v在线免费观看| 91麻豆精品国产综合久久久久久| 国产精品一区二区三区网站| 亚洲一区二区三区四区在线观看 | 亚洲视频一二三区| 精品国产一区二区三区四区四| 99国产精品国产精品毛片| 天堂影院一区二区| 亚洲三级电影全部在线观看高清| 日韩三级电影网址| 欧美亚洲综合另类| 福利电影一区二区| 久久精品国产99国产| 一区二区高清在线| 国产精品网站一区| 久久亚洲捆绑美女| 91精品国产麻豆国产自产在线 | 国产一区二区91| 日韩中文欧美在线| 亚洲午夜免费电影| 亚洲日本va午夜在线影院| 国产偷国产偷亚洲高清人白洁| 欧美一级日韩免费不卡| 91黄视频在线| 91官网在线观看| 97超碰欧美中文字幕| 国产成人在线影院| 国产乱码精品一品二品| 久久成人综合网| 老司机一区二区| 老色鬼精品视频在线观看播放| 亚洲一区二区三区三| 亚洲日本免费电影| 亚洲欧美日韩综合aⅴ视频| 中文字幕亚洲在| 亚洲欧美一区二区三区孕妇| 国产精品嫩草影院com| 欧美极品xxx| 亚洲天堂精品视频| 亚洲欧美日韩国产手机在线| 亚洲三级在线观看| 亚洲永久精品国产| 亚洲妇女屁股眼交7| 亚洲在线免费播放| 三级欧美在线一区| 琪琪一区二区三区| 久久精品国产亚洲a| 国产资源在线一区| 丰满岳乱妇一区二区三区| 成人免费视频caoporn| 成人av影视在线观看| 一本高清dvd不卡在线观看| 日本道精品一区二区三区| 欧美三级视频在线| 日韩一级在线观看| 欧美国产日韩亚洲一区| 自拍偷拍欧美激情| 日韩国产精品久久久久久亚洲| 日本免费在线视频不卡一不卡二| 久久精品国产精品亚洲精品| 国产福利一区二区三区视频在线 | 欧美日韩国产免费一区二区| 欧美肥妇毛茸茸| 久久只精品国产| 国产精品免费视频网站| 亚洲电影一级黄| 国产福利一区二区三区视频| 91影院在线观看| 制服丝袜亚洲精品中文字幕| 久久欧美中文字幕| 一区二区三区欧美亚洲| 免费观看在线综合| 91视频国产观看| 日韩女优电影在线观看| 亚洲欧洲美洲综合色网| 狠狠色丁香久久婷婷综| av网站免费线看精品| 在线视频你懂得一区二区三区| 欧美不卡一二三| 亚洲视频狠狠干| 国产主播一区二区| 欧美三级日韩三级| 久久免费午夜影院| 亚洲第一福利一区| 99re热视频这里只精品| 日韩欧美另类在线| 亚洲影院在线观看| 成人三级伦理片| 欧美不卡激情三级在线观看| 亚洲一区二区三区小说| 成人网男人的天堂| 精品电影一区二区三区| 亚洲国产视频在线| 99久久久精品免费观看国产蜜| 欧美va亚洲va国产综合| 亚洲不卡av一区二区三区| 不卡视频免费播放| 精品国产91乱码一区二区三区 | 在线观看日产精品| 国产欧美一区视频| 精彩视频一区二区| 欧美日韩精品一区二区| ...xxx性欧美| zzijzzij亚洲日本少妇熟睡| ww亚洲ww在线观看国产| 天堂在线亚洲视频| 欧美猛男超大videosgay| 亚洲欧美日韩国产另类专区| www.色精品| 国产精品传媒视频| 99国内精品久久| 国产精品素人视频| 国产成人亚洲综合色影视| 日韩精品一区二区三区中文精品| 亚洲成在人线在线播放| 欧美视频一二三区| 一区二区三区免费网站| 色哟哟精品一区| 一区二区三区四区蜜桃 | 伊人开心综合网| 99久久婷婷国产综合精品电影| 国产精品美女久久久久aⅴ| 国产成人激情av| 国产精品欧美一级免费| 91网站最新网址|