[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iconv and pthreads
From: |
Petr Vandrovec |
Subject: |
Re: iconv and pthreads |
Date: |
Thu, 29 Nov 2001 20:43:36 MET-1 |
On 29 Nov 01 at 14:00, Timothy Kilbourn wrote:
> Is there anything I need to do to make sure calls to iconv() are handled
> properly in a multi-threaded program? I am getting problems with pthread
> mutexes, causing seg faults.
Are you using some handle from iconv_open() in multiple threads? It will
not work, as iconv handle contains couple of internal state - as documented
in description of iconv(cd, NULL, NULL, *, *).
Petr Vandrovec
address@hidden
- iconv and pthreads, Timothy Kilbourn, 2001/11/29
- Re: iconv and pthreads,
Petr Vandrovec <=