cctools
Macros
work_queue_protocol.h File Reference

This file describes a handful of constants that are necessary for a common implementation of the work queue protocol between the manager, worker, and catalog, but should not be visible to the WQ user API. More...

Go to the source code of this file.

Macros

#define WORK_QUEUE_LINE_MAX   4096
 Maximum length of a work queue message line. More...
 
#define WORK_QUEUE_POOL_NAME_MAX   128
 Maximum length of a work queue pool name. More...
 
#define WORKER_WORKSPACE_NAME_MAX   2048
 Maximum length of a work queue worker's workspace name. More...
 
#define WORK_QUEUE_FS_CMD   1
 Indicates thirdput/thirdget should execute a command. More...
 
#define WORK_QUEUE_FS_PATH   2
 Indicates thirdput/thirdget refers to a path. More...
 
#define WORK_QUEUE_FS_SYMLINK   3
 Indicates thirdput/thirdget should create a symlink. More...
 

Detailed Description

This file describes a handful of constants that are necessary for a common implementation of the work queue protocol between the manager, worker, and catalog, but should not be visible to the WQ user API.

This file should not be installed and should only be included by .c files.

Macro Definition Documentation

#define WORK_QUEUE_LINE_MAX   4096

Maximum length of a work queue message line.

#define WORK_QUEUE_POOL_NAME_MAX   128

Maximum length of a work queue pool name.

#define WORKER_WORKSPACE_NAME_MAX   2048

Maximum length of a work queue worker's workspace name.

#define WORK_QUEUE_FS_CMD   1

Indicates thirdput/thirdget should execute a command.

#define WORK_QUEUE_FS_PATH   2

Indicates thirdput/thirdget refers to a path.

#define WORK_QUEUE_FS_SYMLINK   3

Indicates thirdput/thirdget should create a symlink.