Added a few more routines required to port FLAIM to FTK.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@497 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -59,6 +59,23 @@ public:
|
||||
|
||||
RCODE FLMAPI setupThreadMgr( void);
|
||||
|
||||
FLMINT FLMAPI AddRef( void)
|
||||
{
|
||||
return( f_atomicInc( &m_refCnt));
|
||||
}
|
||||
|
||||
FLMINT FLMAPI Release( void)
|
||||
{
|
||||
FLMINT iRefCnt = f_atomicDec( &m_refCnt);
|
||||
|
||||
if( !iRefCnt)
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
|
||||
return( iRefCnt);
|
||||
}
|
||||
|
||||
RCODE FLMAPI createThread(
|
||||
IF_Thread ** ppThread,
|
||||
F_THREAD_FUNC fnThread,
|
||||
|
||||
Reference in New Issue
Block a user