Ignore:
Timestamp:
Feb 5, 2015, 7:17:31 PM (9 years ago)
Author:
knut
Message:

Changed the WIN32 version of function zGettimeofday. Changed return type for getShmLockId (WIN32). Changed type of _HINTERNET.mimeType from unsigned char* to char*. Fixed interconnected memory issues in functions getKeyValue and getShmLockId (WIN32). Added code to transfer the correct unique process identifier (usid) to background processes (applies to WIN32 version).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.h

    r550 r554  
    4646  long tv_usec; /* and microseconds */
    4747};
    48 void zGettimeofday(struct mstimeval* tp, void* tzp)
     48static int zGettimeofday(struct ztimeval* tp, void* tzp)
    4949{
     50  if (tp == 0) {
     51    return -1;
     52  }
     53 
    5054  struct _timeb theTime;
    5155  _ftime(&theTime);
    5256  tp->tv_sec = theTime.time;
    5357  tp->tv_usec = theTime.millitm * 1000;
     58 
     59  return 0; // The gettimeofday() function shall return 0 on success
    5460}
    5561#else
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