Re: lt_dlerror may cause potential issue in multi-thread environment

Nick Gorham <[email protected]> Fri, 12 Apr 2013 11:18:40 +0100
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 12/04/13 10:51, xiaonan wrote:
> Hi, Nick:
>
>     Your response:
>      a context shift can happen between dlopen and dlerror so the 
> error may relate to the other thread.
>
>     Because there is a lock, why other threads can enter this critical 
> Section? Thanks!
>

Yes, you are right, I should read my own code a bit closer. I will do 
what you suggest.

-- 
Nick

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev