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

Ns_UTimedWaitForEvent

Overview

Wait for an event for a specified time, in microseconds

Syntax

    int Ns_UTimedWaitForEvent(
    Ns_Event *event, 
    Ns_Mutex *lock, 
    int seconds,
    int microseconds
    );

Description

Same as Ns_WaitForEvent except that it has a timeout in microseconds. On timeout, the function returns NS_TIMEOUT.

On the Irix platform, the timeout granularity is still in seconds. In this case, if you specify a timeout of less than one second, it will be treated as one second.

    

Top of Page

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