Menu

#1256 Refcount (SmartPointer / Implicit conv) & threads

open
nobody
python (260)
5
2022-01-28
2012-07-09
Solal Jacob
No

Hi,

Using refcount example with options '-threads' and python worker give me errors randomly in setitem when assigning to a map or vector,
telling me that the object I try to assign as wrong type.
So,maybe SWIG_ConvertPtr (when used with implicitconv flag) is not thread safe as it randomly return than the object as a wrong type.

Thanks

Discussion

  • William Fulton

    William Fulton - 2012-12-08

    Note: a fix in patch 3571189 is under discussion.

     
  • Olly Betts

    Olly Betts - 2022-01-28
     

Log in to post a comment.