Oracle Call Interface Programmer's Guide
Release 9.0.1

Part Number A89857-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

More OCI Relational Functions, 55 of 97


OCIDirPathStreamReset()

Purpose

Resets the direct path stream state.

Syntax

sword OCIDirPathStreamReset ( OCIDirPathStream       *dpstr,
                              OCIError               *errhp );

Parameters

dpstr (IN)

Direct path stream handle.

errhp (IN)

An error handle you can pass to OCIErrorGet() for diagnostic information in the event of an error.

Comments

A direct path stream maintains the state that indicates where the next OCIDirPathColArrayToStream() call should start writing into the stream. Normally, data is appended to the end of the stream. When the caller wants to start a new stream after a stream is successfully loaded, or discard the data in a stream, the stream must be reset with this call.

Related Functions

OCIDirPathAbort(), OCIDirPathDataSave(), OCIDirPathFinish(), OCIDirPathFlushRow(), OCIDirPathPrepare()

Thread Management Functions

This section describes the thread management functions.

Table 16-4 Thread Management functions
Function  Purpose 

OCIThreadClose() 

Closes a thread handle 

OCIThreadCreate() 

Creates a new thread 

OCIThreadHandleGet() 

Retrieves the OCIThreadHandle of the thread in which it is called 

OCIThreadHndDestroy() 

Destroys and deallocates the thread handle 

OCIThreadHndInit() 

Allocates and initializes the thread handle 

OCIThreadIdDestroy() 

Destroys and deallocates a thread id 

OCIThreadIdGet() 

Retrieves the OCIThreadId of the thread in which it is called 

OCIThreadIdInit() 

Allocate and initialize the thread id 

OCIThreadIdNull() 

Determines whether or not a given OCIThreadId is the NULL thread ID 

OCIThreadIdSame() 

Determines whether or not two OCIThreadIds represent the same thread 

OCIThreadIdSet() 

Sets one OCIThreadId to another 

OCIThreadIdSetNull() 

Sets the NULL thread ID to a given OCIThreadId 

OCIThreadInit() 

Initializes OCIThread context 

OCIThreadIsMulti() 

Tells the caller whether the application is running in a multi-threaded environment or a single-threaded environment 

OCIThreadJoin() 

Allows the calling thread to join with another thread 

OCIThreadKeyDestroy() 

Destroy and deallocate the key pointed to by key 

OCIThreadKeyGet() 

Gets the calling threads current value for a key 

OCIThreadKeyInit() 

Creates a key 

OCIThreadKeySet() 

Sets the calling threads value for a key 

OCIThreadMutexAcquire() 

Acquires a mutex for the thread in which it is called 

OCIThreadMutexDestroy() 

Destroys and deallocate a mutex 

OCIThreadMutexInit() 

Allocates and initializes a mutex 

OCIThreadMutexRelease() 

Releases a mutex 

OCIThreadProcessInit() 

Performs OCIThread process initialization 

OCIThreadTerm() 

Releases the OCIThread context 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback