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:
ahodgkinson
2006-06-01 19:42:56 +00:00
parent 488ad60c0d
commit 73aa65fabd
10 changed files with 1660 additions and 104 deletions

View File

@@ -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,