Re: UCS-2 in gunicode.h



	One last question about g_convert().  (Sorry to beat this thing to
death, but I plan to use it extensively)

	The iconv_open() man page says:       

       A conversion descriptor contains a conversion state. After
       creation  using  iconv_open,  the  state is in the initial
       state. Using iconv modifies  the  descriptor's  conversion
       state.  (This implies that a conversion descriptor can not
       be used in multiple threads simultaneously.)


	Since g_convert() calls iconv_open(), should there be some kind of
mutexes in g_convert() to keep it thread-safe?  (Sorry about the ignorance
of my question, I know nothing about threaded programming)


--Derek






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