[ 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        usec
    );

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 © 1996 America Online, Inc.