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.
|
Go to the documentation of this file.
8 #ifndef CORE_SERVER_SERVER_INCLUDE_SERVICE_UTIL_H_
9 #define CORE_SERVER_SERVER_INCLUDE_SERVICE_UTIL_H_
bool IsServiceLive(Service *service_p)
Has the Service got any jobs still running?
bool IsServiceLockable(const Service *service_p)
Is a given Service lockable with a mutex for use in a multi-threaded situation.
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
bool LockService(Service *service_p)
Lock a given Service with a mutex for use in a multi-threaded situation.
void * RunAsyncSystemTaskHook(void *data_p)
bool UnlockService(Service *service_p)
Release the lock for a given Service in a multi-threaded situation.
int32 GetNumberOfLiveJobs(Service *service_p)
Check if any ServiceJobs within Service are still running.
#define GRASSROOTS_SERVICE_MANAGER_API
Definition: grassroots_service_manager_library.h:46