VirtualBox

Ignore:
Timestamp:
Apr 29, 2010 2:58:12 PM (15 years ago)
Author:
vboxsync
Message:

IPRT: iconv cache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/thread.cpp

    r28800 r28903  
    4949#include "internal/sched.h"
    5050#include "internal/process.h"
     51#ifdef RT_WITH_ICONV_CACHE
     52# include "internal/string.h"
     53#endif
    5154
    5255
     
    354357#ifdef IN_RING3
    355358        rtLockValidatorInitPerThread(&pThread->LockValidator);
     359#endif
     360#ifdef RT_WITH_ICONV_CACHE
     361        rtStrIconvCacheInit(pThread);
    356362#endif
    357363        int rc = RTSemEventMultiCreate(&pThread->EventUser);
     
    575581
    576582    rtLockValidatorDeletePerThread(&pThread->LockValidator);
     583#endif
     584#ifdef RT_WITH_ICONV_CACHE
     585    rtStrIconvCacheDestroy(pThread);
    577586#endif
    578587    ASMAtomicXchgU32(&pThread->u32Magic, RTTHREADINT_MAGIC_DEAD);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette