Clone
ixen <ixen@copyhandler.com>
committed
on 30 Aug 10
Changed locking system from simple critical section in task objects (CTask, CTaskArray) to the boost::shared_lock for improved multi-threade… Show more
Changed locking system from simple critical section in task objects (CTask, CTaskArray) to the boost::shared_lock for improved multi-threadedness and safety (might be a bit buggy though).

Show less

LoggerImprovements + 5 more
src/ch/CustomCopyDlg.cpp (+1 -0)
1 1 /***************************************************************************
2 2 *   Copyright (C) 2001-2008 by J�zef Starosczyk                           *
3 3 *   ixen@copyhandler.com                                                  *
4 4 *                                                                         *
5 5 *   This program is free software; you can redistribute it and/or modify  *
6 6 *   it under the terms of the GNU Library General Public License          *
7 7 *   (version 2) as published by the Free Software Foundation;             *
8 8 *                                                                         *
9 9 *   This program is distributed in the hope that it will be useful,       *
10 10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11 11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12 12 *   GNU General Public License for more details.                          *
13 13 *                                                                         *
14 14 *   You should have received a copy of the GNU Library General Public     *
15 15 *   License along with this program; if not, write to the                 *
16 16 *   Free Software Foundation, Inc.,                                       *
17 17 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18 18 ***************************************************************************/
19 19 #include "stdafx.h"
20 20 #include "resource.h"
  21 #include "FileInfo.h"
21 22 #include "CustomCopyDlg.h"
22 23 #include "structs.h"
23 24 #include "dialogs.h"
24 25 #include "BufferSizeDlg.h"
25 26 #include "FilterDlg.h"
26 27 #include "StringHelpers.h"
27 28 #include "ch.h"
28 29 #include <boost/shared_array.hpp>
29 30
30 31 #ifdef _DEBUG
31 32 #define new DEBUG_NEW
32 33 #undef THIS_FILE
33 34 static char THIS_FILE[] = __FILE__;
34 35 #endif
35 36
36 37 /////////////////////////////////////////////////////////////////////////////
37 38 // CCustomCopyDlg dialog
38 39
39 40
40 41 CCustomCopyDlg::CCustomCopyDlg() :ictranslate::CLanguageDialog(CCustomCopyDlg::IDD)