Hello!
I'm using dcmtk, with threads sometimes, my doubt is if OFcondition class is reentrant ?
Thanks
OFCondition is reentrant ?
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
OFcondition is reentrant in the sense that many OFcondition objects can "live" in different threads without affecting each other. In particular, the OFcondition constants like EC_Normal can safely be used in multiple threads. OFcondition objects do not use any internal locking, which means that any OFcondition object that is passed or shared between threads should be protected by a mutex or semaphore by the user code.
Who is online
Users browsing this forum: Google [Bot] and 1 guest