Re: timeouts



ASF <Anthony-Ferrand wanadoo fr> writes:
>     Hello,
> 
> I just wonder how  the timeouts are managed? For example, if there are 2
> timeouts and we are in the following situation:
> the first is done and the appropriate function is launched but during
> the execution of the first function the second timeout is done...what
> happen?
> The second waits till the first job is done? a core file is generated?
> 

The second one will be delayed until the first is done. There aren't
any threads or anything involved, so once the app is under control of
your callback the main loop doesn't run until your callback returns.

Havoc




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