NAME
sleep_unit -- sleep for a given time and flush graphics pipeline
PROTOTYPE
unitptr sleep_unit( float fWaitSecs, unitptr uHost)
ARGUMENTS
- float fWaitSecs
- time to wait
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[0]:
- (input field 0) time in secs to wait
(initialized with fWaitSecs )
EXECUTION OF CREATED UNIT:
waits a given nr of seconds (at input field 0).
When any graphics is in use and the specified time
is nonnegative, the unit will also flush the graphics
pipeline before the wait. If this is undesired, specify
a negative time span t<0; in this case, the graphics
flush will be omitted and the unit will wait for the
time -t>0.
FILE
/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../nstsrc/nst_misc.c