Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/lzma/v4_65/files/CPP/7zip/Common/VirtThread.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // VirtThread.h
2
3 #ifndef __VIRTTHREAD_H
4 #define __VIRTTHREAD_H
5
6 #include "../../Windows/Synchronization.h"
7 #include "../../Windows/Thread.h"
8
9 struct CVirtThread
10 {
11 NWindows::NSynchronization::CAutoResetEvent StartEvent;
12 NWindows::NSynchronization::CAutoResetEvent FinishedEvent;
13 NWindows::CThread Thread;
14 bool ExitEvent;
15
16 ~CVirtThread();
17 WRes Create();
18 void Start();
19 void WaitFinish() { FinishedEvent.Lock(); }
20 virtual void Execute() = 0;
21 };
22
23 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698