HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PDG_SchedulerUtils.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* COMMENTS:
7
*/
8
9
#ifndef __PDG_SCHEDULERUTILS_H__
10
#define __PDG_SCHEDULERUTILS_H__
11
12
#include "
PDG_API.h
"
13
14
#include <
UT/UT_StringMap.h
>
15
16
class
PDG_API
PDG_SchedulerUtils
17
{
18
public
:
19
/// Returns the number of logical cores available
20
static
int
maxThreads();
21
static
UT_StringMap<UT_StringHolder>
22
getDefaultUserEnvironment();
23
/// Helper functions for local-schedulers - execute in child process
24
/// before exec (Posix only)
25
static
void
preExecProcess();
26
/// Helper function for local-schedulers - adds new process to parent Job
27
static
void
postExecProcess(
uint64
pid);
28
};
29
30
#endif //__PDG_SCHEDULERUTILS_H__
UT_StringMap< UT_StringHolder >
PDG_API
#define PDG_API
Definition:
PDG_API.h:23
uint64
unsigned long long uint64
Definition:
SYS_Types.h:117
PDG_API.h
PDG_SchedulerUtils
Definition:
PDG_SchedulerUtils.h:16
UT_StringMap.h
PDG
PDG_SchedulerUtils.h
Generated on Tue Dec 17 2024 03:40:30 for HDK by
1.8.6