Victor Duchovni: > On Mon, Jan 17, 2011 at 02:56:57PM -0500, Wietse Venema wrote: > > > Well this is the code: > > > > psc_lowat_check_queue_length = .7 * var_psc_pre_queue_limit; > > psc_hiwat_check_queue_length = .9 * var_psc_pre_queue_limit; > > Is the compiler first converting 0.7 to an integer and *then* doing > the multiplication? > > That would violate the C arithmetic type promotion rules.
Let's find out if var_psc_pre_queue_limit is non-zero. Andreas, I am very interested in your logging for var_psc_pre_queue_limit. Wietse