Thread safety of Matlab engine API

前端 未结 4 706
名媛妹妹
名媛妹妹 2020-12-06 02:43

I have discovered through trial and error that the MATLAB engine function is not completely thread safe.

Does anyone know the rules?

Discovered through trial

4条回答
  •  清歌不尽
    2020-12-06 03:29

    From the documentation,

    MATLAB libraries are not thread-safe. If you create multithreaded applications, make sure only one thread accesses the engine application.

提交回复
热议问题