> I like the approach, I think I agree with Dan, I'd rather see the locking > inside the function for now. Great! I'll put the locking into the function and resend the patch. -- /manohar