/*++ /* NAME /* rand_sleep 3 /* SUMMARY /* sleep for randomized interval /* SYNOPSIS /* #include <iostuff.h> /* /* void rand_sleep(delay, variation) /* unsigned delay; /* unsigned variation; /* DESCRIPTION /* rand_sleep() blocks the current process for an amount of time /* pseudo-randomly chosen from the interval (delay +- variation/2). /* /* Arguments: /* .IP delay /* Time to sleep in microseconds. /* .IP variation /* Variation in microseconds; must not be larger than delay. /* DIAGNOSTICS /* Panic: interface violation. All system call errors are fatal. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.