Subject Memory allocation in UDF/SuperServer (ib_util_malloc)
Author akorud@polynet.lviv.ua
Hi all.
I'm writing UDF for work in SuperServer environment (Firebird 0.9-
4p1).
So, I have few questions:
- In guide they say it's necessary to use ib_util_malloc for memory
allocation. But I cannot found neither definition no implementation
of this function. How should allocate memory in thread-safe manner?
- Is it thread-safe to declare function-local stack variables:
function(...)
{
struct tm my_time;
}

Thanks in advance,
Andriy Korud