Hello,
Is DcmSCP in 3.6.1 for Windows thread safe or not? I searched and found the following two posts regarding MultiThreading and Windows:
viewtopic.php?f=1&t=3200&hilit=MultiProcess
viewtopic.php?f=1&t=3052&hilit=enableMultiProcessMode
The first post indicates that: "DcmSCU is heavily based on dcmnet, so I would not used it in a multithreaded environment. However, some people also used dcmnet in multithreaded applications, maybe you just give it a try."
These posts indicate that "enableMultiProcessMode" can be used and simulates Windows CreateProcess() with calling parameters. Is this the best way to have dcmtk multithreaded under Windows or have improvements been made to the code since these posts? I would like to avoid using a CreateProcess type of methodology.
Are there any other examples of SCP multithreading under Windows? I am not sure I fully understand the two mentioned posts, particularly with the "markAsForkedChild()" call. Any help would be appreciated.
Best Regards,
Joel
DcmSCP in MultiProcess Mode using Windows
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2517
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: DcmSCP in MultiProcess Mode using Windows
Please check the latest git version for a threaded SCP implementation ...
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest