Esempio n. 1
0
static time_t last_closing_time(void)
{
    time_t  last;

    lock_closing_time();
    last = __last_closing_time;
    unlock_closing_time();

    return last;
}
Esempio n. 2
0
static time_t last_closing_time(void)
{
	time_t  last;

	if (acl_var_aio_max_threads > 0)
		lock_closing_time();
	last = __last_closing_time;
	if (acl_var_aio_max_threads > 0)
		unlock_closing_time();

	return (last);
}
Esempio n. 3
0
static void update_closing_time(void)
{
    lock_closing_time();
    __last_closing_time = time(NULL);
    unlock_closing_time();
}