DcmSCP in MultiProcess Mode using Windows

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
feldman_joel
Posts: 14
Joined: Fri, 2013-01-04, 16:23

DcmSCP in MultiProcess Mode using Windows

#1 Post by feldman_joel »

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

J. Riesmeier
DCMTK Developer
Posts: 2517
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: DcmSCP in MultiProcess Mode using Windows

#2 Post by J. Riesmeier »

Please check the latest git version for a threaded SCP implementation ...

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 0 guests