dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
samples
url_samples
urldbsample_extended
url_samples/urldbsample_extended/mythreads.h
Go to the documentation of this file.
1
/* IBM Source Code */
2
/* (C) Copyright IBM Corp. 2009, 2012 */
3
/* Licensed Materials - Property of IBM */
4
/* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5
12
#ifndef MYTHREADS_H
13
#define MYTHREADS_H
14
15
namespace
dca {
16
class
DcaInstance;
17
class
UpdateModule;
18
}
19
39
void
StartupThreads
(
const
dca::DcaInstance
& aDcaInstance,
const
dca::UpdateModule
& aUpdateModule,
dca::ScheduleEventSubscriberIntf
* pSubscriber);
40
53
void
ShutdownThreads
();
54
55
#ifndef _MSC_VER
56
// only use mySleep under linux - else use the Windows API ::Sleep function
61
void
mySleep
(
unsigned
int
ms );
62
#endif
63
64
#endif // MYTHREADS_H
dca::UpdateModule
The update module is used to download and install DCA content and engine updates.
Definition:
base_classes.h:917
dca::DcaInstance
Encapsulates the init and deinit of the DCA API.
Definition:
base_classes.h:315
ShutdownThreads
void ShutdownThreads()
Shuts down the previously started update and schedule threads.
Definition:
customdb_samples/customdbsample_extended/mythreads.cpp:20
mySleep
void mySleep(unsigned int ms)
sleeps the given interval (in milliseconds)
StartupThreads
void StartupThreads(const dca::DcaInstance &aDcaInstance, const dca::UpdateModule &aUpdateModule, dca::ScheduleEventSubscriberIntf *pSubscriber)
Starts up the update and schedule threads and supplies the given DcaInstance and UpdateModule.
Definition:
url_samples/urldbsample_extended/mythreads.cpp:13
dca::ScheduleEventSubscriberIntf
An interface for schedule event notifications. Derive a class from this interface and implement onEve...
Definition:
base_classes.h:526
Generated by
1.8.18