Make timer_getcurrenttime() thread-safe
Make timer_getcurrenttime() thread-safe

This also fixes the huge sizeof(struct ttimers).

GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver,GerHobbelt/civet-webserver