Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 20437: /trunk/ /trunk/epan/dissector

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sun, 14 Jan 2007 23:11:47 -0800
On Mon, Jan 15, 2007 at 05:16:15AM +0000, ulfl@xxxxxxxxxxxxx wrote:

>  XXX - to prevent a busy wait, I need a portable way to wait for a 
> short time period, like Sleep() for Windows

How about g_usleep() from GLib?

http://developer.gnome.org/doc/API/2.0/glib/glib-Date-and-Time-Functions.html#g-usleep

Steve