Re: UCS-2 in gunicode.h
- From: Derek Simkowiak <dereks kd-dev com>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: UCS-2 in gunicode.h
- Date: Mon, 10 Jul 2000 13:20:38 -0700 (PDT)
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]