Ignore:
Timestamp:
Aug 16, 2018, 8:00:56 AM (6 years ago)
Author:
djay
Message:

Fixes for supporting properly the memory=protect which force the ZOO-Kernel to not store any downloaded files in memory. Add footer to the HPC support. Fix the autotools to build service_json and sshapi only when required so, when HPC support is activated, this also avoid adding too much dependencies at compilation time. Store md5 of the downloaded files to avoid uploading on HPC server the same file more than once, in case the md5 correspond.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/service_internal.h

    r854 r877  
    9696#endif
    9797
     98#ifdef WIN32
     99// fcntl flock definitions
     100#define F_SETLK  8   // Non-Blocking set or clear a lock
     101#define F_SETLKW 9   // Blocking set or clear a lock
     102#define F_GETLK 10
     103#define F_RDLCK  1   // read lock
     104#define F_WRLCK  2   // write lock
     105#define F_UNLCK  3   // remove lock
     106struct flock {
     107    short l_type;   // F_RDLCK, F_WRLCK, or F_UNLCK
     108    short l_whence; // flag to choose starting offset, must be SEEK_SET
     109    long  l_start;  // relative offset, in bytes, must be 0
     110    long  l_len;    // length, in bytes; 0 means lock to EOF, must be 0
     111    short l_pid;    // unused (returned with the unsupported F_GETLK)
     112    short l_xxx;    // reserved for future use
     113};
     114
     115#endif
     116
    98117/**
    99118 * The lock structure used by the ZOO-Kernel to ensure atomicity of operations
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png