job submit and support run in worker

This commit is contained in:
Rongsong Shen 2025-11-28 17:24:31 +08:00
parent 3630e38a07
commit e497dd1b69
18 changed files with 502 additions and 236 deletions

View file

@ -8,9 +8,16 @@
/* This header file has some utilities and structure for compatibility with
* other scheduler systems. */
#define XCE_DEFAULT_SOCKS 15
#define MAXPATHLEN 1024
#define MAXHOSTNAMELEN 256
#define XCE_DEFAULT_SOCKS 15
#if !defined(MAXPATHLEN)
#define MAXPATHLEN 1024
#endif
#if !defined(MAXHOSTNAMELEN)
#define MAXHOSTNAMELEN 256
#endif
#define MAXLINELEN 4096
#define MAXDATASIZE (16 * 1024)
#define MAXXCENAMELEN 40
@ -133,4 +140,6 @@ typedef struct {
void block_signal(int sig);
void unblock_signal(int sig);
extern int make_job_sd_unit_name(char*, size_t, const char*, uint64_t);
#endif