[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_CacheTimedGetValue

Overview

Wait for cache entry to be set

Syntax

    void* Ns_CacheTimedGetValue (
    Ns_Cache* cache, 
    char* key, 
    Ns_Time* timePtr, 
    int* condPtr
    );

Description

Wait for an entry's value to be set to non-null by some other thread up to the given timeout or until an optional condition integer becomes zero. Note that the cache and key are given instead of the entry because you cannot rely on an entry to remain valid during the Ns_CondTimedWait.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.