Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

icetcopystate(3) [debian man page]

icetCopyState(3)						  IceT Reference						  icetCopyState(3)

NAME
icetCopyState -- copy state machine of one context to another. Synopsis #include <IceT.h> void icetCopyState( IceTContext dest, const IceTContext src ); Description The icetCopyState function replaces the state of dest with the current state of src. This function can be used to quickly duplicate a con- text. The IceTCommunicator object associated with dest is not changed (nor can it ever be). Consequently, the following state values are not copied either, since they refer to process ids that are directly tied to the IceTCommunicator object: ICET_RANK, ICET_NUM_PROCESSES, ICET_DATA_REPLICATION_GROUP, ICET_DATA_REPLICATION_GROUP_SIZE, ICET_COMPOSITE_ORDER, and ICET_PROCESS_ORDERS. However, every other state parameter is copied. Errors None. Warnings None. Bugs The state is copied blindly. It is therefore possible to copy states that are invalid for a context's communicator. For example, a display rank may not refer to a valid process id. Notes Behavior is undefined if dest or src has never been created or has already been destroyed. Copyright Copyright (C)2003 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetCreateContext(3), icetGetContext(3), icetSetContext(3) IceT Reference August 9, 2010 icetCopyState(3)

Check Out this Related Man Page

icetGetError(3) 						  IceT Reference						   icetGetError(3)

NAME
icetGetError -- return the last error condition. Synopsis #include <IceT.h> GLenum icetGetError( void ); Description Retrieves the first error or warning condition that occurred since the last call to icetGetError or since program startup, whichever hap- pened last. Once an error condition has been retrieved with icetGetError, the error condition is reset to no error and cannot be retrieved again. Return Value One of the following flags will be returned: ICET_INVALID_VALUE An inappropriate value has been passed to a function. ICET_INVALID_OPERATION An inappropriate function has been called. ICET_OUT_OF_MEMORY IceT has ran out of memory for buffer space. ICET_BAD_CAST A function has been passed a value of the wrong type. ICET_INVALID_ENUM A function has been passed an invalid constant. ICET_SANITY_CHECK_FAIL An internal error (or warning) has occurred. ICET_NO_ERROR No error has been raised since the last call to icetGetError. Bugs It is not possible to tell if the returned value was caused by an error or a warning. Notes The error value is not context dependent. Copyright Copyright (C)2003 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetDiagnostics(3) IceT Reference August 9, 2010 icetGetError(3)
Man Page