bug-glibc
[Top][All Lists]
Advanced

[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
                                                    



reply via email to

[Prev in Thread] Current Thread [Next in Thread]