Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
platform.h
Go to the documentation of this file.
1
/*
2
** Copyright 2014-2016 The Earlham Institute
3
**
4
** Licensed under the Apache License, Version 2.0 (the "License");
5
** you may not use this file except in compliance with the License.
6
** You may obtain a copy of the License at
7
**
8
** http://www.apache.org/licenses/LICENSE-2.0
9
**
10
** Unless required by applicable law or agreed to in writing, software
11
** distributed under the License is distributed on an "AS IS" BASIS,
12
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
** See the License for the specific language governing permissions and
14
** limitations under the License.
15
*/
16
24
#ifndef PLATFORM_H
25
#define PLATFORM_H
26
27
#include "
typedefs.h
"
28
#include "
grassroots_util_library.h
"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
43
GRASSROOTS_UTIL_API
bool
InitPlatform
(
void
);
44
45
51
GRASSROOTS_UTIL_API
void
ExitPlatform
(
void
);
52
53
63
GRASSROOTS_UTIL_API
uint32
Snooze
(uint32 milliseconds);
64
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
71
72
#endif
73
74
75
grassroots_util_library.h
InitPlatform
bool InitPlatform(void)
Initialise the Grassroots system for the operating system that it is running on.
Snooze
uint32 Snooze(uint32 milliseconds)
Sleep the current process.
typedefs.h
ExitPlatform
void ExitPlatform(void)
Release any operating system-specific resources.
GRASSROOTS_UTIL_API
#define GRASSROOTS_UTIL_API
Definition:
grassroots_util_library.h:47
core
shared
util
include
platform.h
Generated on Mon Feb 26 2024 17:00:10 for Grassroots Infrastructure by
1.8.16