00001 /* $Id: blast_mtlock.hpp 103491 2007-05-04 17:18:18Z kazimird $ 00002 * =========================================================================== 00003 * 00004 * PUBLIC DOMAIN NOTICE 00005 * National Center for Biotechnology Information 00006 * 00007 * This software/database is a "United States Government Work" under the 00008 * terms of the United States Copyright Act. It was written as part of 00009 * the author's official duties as a United States Government employee and 00010 * thus cannot be copyrighted. This software/database is freely available 00011 * to the public for use. The National Library of Medicine and the U.S. 00012 * Government have not placed any restriction on its use or reproduction. 00013 * 00014 * Although all reasonable efforts have been taken to ensure the accuracy 00015 * and reliability of the software and data, the NLM and the U.S. 00016 * Government do not and cannot warrant the performance or results that 00017 * may be obtained by using this software or data. The NLM and the U.S. 00018 * Government disclaim all warranties, express or implied, including 00019 * warranties of performance, merchantability or fitness for any particular 00020 * purpose. 00021 * 00022 * Please cite the author in any work or product based on this material. 00023 * 00024 * =========================================================================== 00025 * 00026 * Author: Ilya Dondoshansky 00027 * 00028 */ 00029 00030 /** @file blast_mtlock.hpp 00031 * C++ version of the initialization for the mutex locking interface. 00032 */ 00033 00034 #ifndef ALGO_BLAST_API___BLAST_MTLOCK_HPP 00035 #define ALGO_BLAST_API___BLAST_MTLOCK_HPP 00036 00037 #include <connect/ncbi_core.h> 00038 #include <algo/blast/core/blast_export.h> 00039 00040 BEGIN_NCBI_SCOPE 00041 00042 /** @addtogroup AlgoBlast 00043 * 00044 * @{ 00045 */ 00046 00047 BEGIN_SCOPE(blast) 00048 00049 /** Initialize a mutex locking mechanism for BLAST. */ 00050 MT_LOCK Blast_CMT_LOCKInit(void); 00051 00052 END_SCOPE(blast) 00053 END_NCBI_SCOPE 00054 /* @} */ 00055 00056 #endif /* ALGO_BLAST_API___BLAST_MTLOCK_HPP */ 00057 00058
1.4.6
Modified on Mon Dec 07 16:20:32 2009 by modify_doxy.py rev. 173732