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

From: "Luis Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Mon, 15 Jan 2007 11:13:39 +0100
that's glib2 only, what about select()?

On 1/15/07, Stephen Fisher <stephentfisher@xxxxxxxxx> wrote:
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

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev



--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan