src/algo/blast/api/blast_mtlock.cpp File Reference


Detailed Description

Initialization for the mutex locking interface.

Definition in file blast_mtlock.cpp.

#include <ncbi_pch.hpp>
#include <corelib/ncbimtx.hpp>
#include <algo/blast/api/blast_mtlock.hpp>

Include dependency graph for blast_mtlock.cpp:

Go to the source code of this file.

Functions

static int BlastLockHandler (void *user_data, EMT_Lock how)
 Locking callback for the Blast MT_LOCK implementation.
static void BlastLockCleanup (void *user_data)
 Cleanup callback for the Blast MT_LOCK implementation.
MT_LOCK Blast_CMT_LOCKInit ()
 Initialize a mutex locking mechanism for BLAST.

Variables

static char const rcsid []


Function Documentation

static void BlastLockCleanup void *  user_data  )  [static]
 

Cleanup callback for the Blast MT_LOCK implementation.

Definition at line 68 of file blast_mtlock.cpp.

Referenced by Blast_CMT_LOCKInit().

static int BlastLockHandler void *  user_data,
EMT_Lock  how
[static]
 

Locking callback for the Blast MT_LOCK implementation.

Definition at line 49 of file blast_mtlock.cpp.

References eMT_Lock, eMT_Unlock, CFastMutex::Lock(), and CFastMutex::Unlock().

Referenced by Blast_CMT_LOCKInit().


Variable Documentation

char const rcsid[] [static]
 

Initial value:

 
    "$Id: blast_mtlock.cpp 103491 2007-05-04 17:18:18Z kazimird $"

Definition at line 35 of file blast_mtlock.cpp.


Generated on Wed Dec 9 07:41:03 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:18:29 2009 by modify_doxy.py rev. 173732