mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] MLDonkey stable high cpu usage


From: Falk Hueffner
Subject: Re: [Mldonkey-users] MLDonkey stable high cpu usage
Date: 26 Nov 2003 11:37:52 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage)

"Roland Arendes" <address@hidden> writes:

> +external usleep: int -> unit = "usleep" ;;
>  let debug = ref false
> 
>  (* Try to better display the errors related to connections *)
> @@ -380,6 +381,7 @@
>  let loop () =
>    while true do
>      try
> +      usleep(50000);

This works purely by chance (and will sleep 100001 usecs...) You
should really read the manual on how to interface with C properly.

-- 
        Falk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]