Is g_log threadsafe?



Hello,

i like the GLIB logging facility :).

While being in a multithreaded application environment I get something like:

conDVD(pid:25505conDVD (pid:25507): LIBCIMDECODERSPU-DEBUG (recursed):
write_spu start.
aborting...

I assume that g_log is not threadsafe.

Is it intended to be so? If yes, I guess i would have to install handlers
with a locking mechanism.

A reply will oblige :).

Bye... SP.
-- 
Szymon Polom                      | GPG Key-ID 1024D/E6EA36F2
convergence integrated media GmbH | http://www.convergence.de
Rosenthaler Str. 51               | fon: +49(0)30-72 62 06 68 
D-10178 Berlin                    | fax: +49(0)30-72 62 06 55




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]