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

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

?? apr_proc_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_PROC_MUTEX_H
#define APR_PROC_MUTEX_H

/**
 * @file apr_proc_mutex.h
 * @brief APR Process Locking Routines
 */

#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"

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

/**
 * @defgroup apr_proc_mutex Process Locking Routines
 * @ingroup APR 
 * @{
 */

/** 
 * Enumerated potential types for APR process locking methods
 * @warning Check APR_HAS_foo_SERIALIZE defines to see if the platform supports
 *          APR_LOCK_foo.  Only APR_LOCK_DEFAULT is portable.
 */
typedef enum {
    APR_LOCK_FCNTL,         /**< fcntl() */
    APR_LOCK_FLOCK,         /**< flock() */
    APR_LOCK_SYSVSEM,       /**< System V Semaphores */
    APR_LOCK_PROC_PTHREAD,  /**< POSIX pthread process-based locking */
    APR_LOCK_POSIXSEM,      /**< POSIX semaphore process-based locking */
    APR_LOCK_DEFAULT        /**< Use the default process lock */
} apr_lockmech_e;

/** Opaque structure representing a process mutex. */
typedef struct apr_proc_mutex_t apr_proc_mutex_t;

/*   Function definitions */

/**
 * Create and initialize a mutex that can be used to synchronize processes.
 * @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.
 * @see apr_lockmech_e
 * @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_proc_mutex_create(apr_proc_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_proc_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_proc_mutex_child_init(apr_proc_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_proc_mutex_lock(apr_proc_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_proc_mutex_trylock(apr_proc_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_proc_mutex_unlock(apr_proc_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_proc_mutex_destroy(apr_proc_mutex_t *mutex);

/**
 * Destroy the mutex and free the memory associated with the lock.
 * @param mutex the mutex to destroy.
 * @note This function is generally used to kill a cleanup on an already
 *       created mutex
 */
APR_DECLARE(apr_status_t) apr_proc_mutex_cleanup(void *mutex);

/**
 * Return the name of the lockfile for the mutex, or NULL
 * if the mutex doesn't use a lock file
 */

APR_DECLARE(const char *) apr_proc_mutex_lockfile(apr_proc_mutex_t *mutex);

/**
 * Display the name of the mutex, as it relates to the actual method used.
 * This matches the valid options for Apache's AcceptMutex directive
 * @param mutex the name of the mutex
 */
APR_DECLARE(const char *) apr_proc_mutex_name(apr_proc_mutex_t *mutex);

/**
 * Display the name of the default mutex: APR_LOCK_DEFAULT
 */
APR_DECLARE(const char *) apr_proc_mutex_defname(void);

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

/** @} */

#ifdef __cplusplus
}
#endif

#endif  /* ! APR_PROC_MUTEX_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆91精品视频| 欧美日韩一区二区三区在线看| 成人国产精品免费观看动漫| 欧美日韩的一区二区| 国产精品无人区| 久久电影网站中文字幕| 欧美日韩国产大片| 亚洲免费在线电影| 麻豆精品在线播放| 日韩一区二区影院| 中文字幕日本不卡| 国产精品一级二级三级| 欧美日韩成人一区二区| 午夜成人免费电影| 99久久精品久久久久久清纯| 久久尤物电影视频在线观看| 日韩精品视频网| 91久久精品一区二区二区| 国产精品伦理一区二区| 成人午夜视频免费看| 精品精品国产高清a毛片牛牛 | 日韩欧美精品三级| 亚洲国产视频直播| 欧美自拍丝袜亚洲| 亚洲最大成人网4388xx| 99久久综合狠狠综合久久| 国产欧美久久久精品影院| 国产一区二区三区四区五区入口| 在线不卡的av| 日本最新不卡在线| 日韩精品一区二区在线| 九九**精品视频免费播放| 精品国产伦一区二区三区观看方式 | 国产精品亚洲午夜一区二区三区| 精品蜜桃在线看| 狠狠色2019综合网| 国产亚洲成年网址在线观看| 国产 日韩 欧美大片| 欧美国产视频在线| 色综合网色综合| 一区二区三区精品| 欧洲一区在线电影| 午夜精品久久一牛影视| 91精品国产麻豆国产自产在线| 男男视频亚洲欧美| 久久老女人爱爱| 成人福利视频网站| 亚洲品质自拍视频网站| 欧美日韩精品高清| 极品尤物av久久免费看| 国产色一区二区| 成人黄色小视频| 一区二区欧美国产| 日韩免费观看高清完整版在线观看| 国产制服丝袜一区| 亚洲人午夜精品天堂一二香蕉| 欧美视频一区在线观看| 精东粉嫩av免费一区二区三区| 中文字幕国产精品一区二区| 欧美午夜一区二区三区| 免费av成人在线| 国产精品久久一级| 欧美视频日韩视频| 国产美女在线观看一区| 一区二区三区四区精品在线视频| 这里只有精品视频在线观看| 国产寡妇亲子伦一区二区| 一级中文字幕一区二区| www欧美成人18+| 色先锋久久av资源部| 久久国产生活片100| 亚洲色欲色欲www| 精品国产乱码久久久久久浪潮| 99在线视频精品| 精品在线观看免费| 一区二区不卡在线视频 午夜欧美不卡在| 日韩欧美一区二区视频| 91在线视频播放| 欧美aa在线视频| 夜夜夜精品看看| 国产精品欧美久久久久一区二区| 欧美精品aⅴ在线视频| 99久久精品一区二区| 激情综合网天天干| 日韩激情一区二区| 一级特黄大欧美久久久| 国产精品热久久久久夜色精品三区 | 天天影视色香欲综合网老头| 国产日韩欧美精品综合| 欧美一三区三区四区免费在线看| 99久久精品国产网站| 国产一区91精品张津瑜| 日韩av电影一区| 亚洲国产一区二区视频| 亚洲视频一区二区免费在线观看| 亚洲精品一区二区三区四区高清| 欧美图区在线视频| 97超碰欧美中文字幕| 国产.欧美.日韩| 国产精品123| 国产乱子伦一区二区三区国色天香| 日日夜夜免费精品| 亚洲福利视频一区| 亚洲成人自拍网| 亚洲国产乱码最新视频| 亚洲综合色区另类av| 亚洲欧美国产77777| 综合电影一区二区三区| 18成人在线视频| 中文字幕中文乱码欧美一区二区| 久久久国产精品不卡| 国产片一区二区| 国产精品素人一区二区| 中文字幕成人av| 一区在线观看视频| 亚洲啪啪综合av一区二区三区| 国产精品高潮久久久久无| 国产精品久久三区| 亚洲精品欧美激情| 亚洲综合男人的天堂| 亚洲综合av网| 五月天久久比比资源色| 日本在线播放一区二区三区| 日韩一区精品视频| 美国毛片一区二区三区| 国产一区二区三区不卡在线观看| 丰满少妇在线播放bd日韩电影| 成人综合激情网| av爱爱亚洲一区| 欧美伊人精品成人久久综合97| 欧美视频一区二区在线观看| 这里只有精品电影| 26uuu另类欧美亚洲曰本| 国产色综合久久| 亚洲男人的天堂在线观看| 日韩精品一区第一页| 国产一区二区三区精品视频| 99免费精品在线| 欧美日韩不卡一区| 国产精品国产三级国产普通话蜜臀| 亚洲一区二区视频在线观看| 日韩成人一级片| av午夜一区麻豆| 3d成人h动漫网站入口| 国产精品污污网站在线观看| 亚洲黄色免费电影| 激情欧美一区二区三区在线观看| av中文字幕在线不卡| 日韩一区国产二区欧美三区| 欧美激情综合在线| 丝袜诱惑亚洲看片| 国产成人啪免费观看软件| 欧美三级韩国三级日本一级| 国产女人aaa级久久久级| 亚洲成av人片| 成人一二三区视频| 777久久久精品| 成人免费在线观看入口| 久久91精品久久久久久秒播| 99国产麻豆精品| 精品国产第一区二区三区观看体验| 亚洲天堂2014| 国产美女精品人人做人人爽| 欧美日韩视频在线第一区| 国产精品网站导航| 久久精品99久久久| 欧美撒尿777hd撒尿| 国产精品久久久久婷婷| 免费看日韩a级影片| 91福利区一区二区三区| 国产精品妹子av| 国产精品一级片在线观看| 日韩一级片网站| 午夜精品爽啪视频| 欧洲一区二区三区在线| 国产精品免费免费| 国产九色精品成人porny| 欧美猛男男办公室激情| 亚洲男同性恋视频| 成人的网站免费观看| 久久精品欧美日韩精品| 美女精品自拍一二三四| 91精品国产综合久久福利软件| 夜夜嗨av一区二区三区网页| 97久久精品人人做人人爽| 国产精品视频在线看| 国产超碰在线一区| 国产欧美1区2区3区| 精品亚洲porn| 久久这里只有精品首页| 韩国av一区二区三区| 精品国产1区2区3区| 裸体在线国模精品偷拍| 精品免费视频一区二区| 精品影院一区二区久久久| 欧美变态凌虐bdsm| 久久国产尿小便嘘嘘尿| 久久久精品国产免费观看同学| 国产一区高清在线| 精品日韩成人av|