Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Utils.d File Reference

Declarations for atomic compare-and-set operations and platform-specific utility functions. More...

Go to the source code of this file.

Typedefs

typedef Epoch utcNano currentTimeNanos
typedef Epoch utcMilli currentTimeMillis

Functions

public class VersionAres public
class VersionLocksVerboseUnittest
int 
printf (char *,...)
char[] itoa (char[] buf, uint i)
void sleepNanos (long nanos)

Variables

module mango locks Utils
public class VersionAres typedef
void 
ThreadReturn
package import mango sys Epoch
package import mango sys System


Detailed Description

Declarations for atomic compare-and-set operations and platform-specific utility functions.

Written by Ben Hinkle and released to the public domain, as explained at http://creativecommons.org/licenses/publicdomain Email comments and bug reports to ben.hinkle@gmail.com

Modified for Mango; may28th 2005 Much of the original has been placed into mango.sys.Atomic

revision 2.02

Definition in file Utils.d.


Typedef Documentation

typedef Epoch utcNano currentTimeNanos
 

Definition at line 44 of file Utils.d.

typedef Epoch utcMilli currentTimeMillis
 

Definition at line 45 of file Utils.d.


Function Documentation

public class VersionAres public class VersionLocksVerboseUnittest int printf char *  ,
  ...
 

Referenced by Versiondarwin::FunctionLoader::bind(), Socket::cancelAll(), Socket::closure(), main(), Versiondarwin::FunctionLoader::open(), Socket::receiveFrom(), SocketListener::run(), SocketAppender::setAddress(), UConverter::this(), and Resource::~this().

char [] itoa char[]  buf,
uint  i
 

Definition at line 28 of file Utils.d.

void sleepNanos long  nanos  ) 
 

Definition at line 50 of file Utils.d.

Referenced by AbstractLock::doAcquireNanos(), AbstractLock::doAcquireSharedNanos(), AbstractLock::ConditionObject::wait(), and AbstractLock::ConditionObject::waitNanos().


Variable Documentation

module mango locks Utils
 

Definition at line 16 of file Utils.d.

else typedef int ThreadReturn
 

Definition at line 25 of file Utils.d.

package import mango sys Epoch
 

Definition at line 42 of file Utils.d.

package import mango sys System
 

Definition at line 48 of file Utils.d.


Generated on Mon Nov 14 10:59:47 2005 for Mango by  doxygen 1.4.0