Project

General

Profile

Bug #4041

synchronization in matlab actor

Added by Daniel Crawl over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
04/30/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4041

Description

The matlab actor starts a new matlab process in preinitialize and closes it in wrapup. Each instance of the actor in a model starts and stops a separate matlab process. However, they all synchronize on a shared object, which prevents concurrent matlab execution.

Ideally, the actors should be able to run concurrently. Why are they synchronized? (Maybe the matlab engine shared library is not thread-safe)?

If they cannot run concurrently, then only one matlab process should be used per JVM.

History

#1 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4041

Also available in: Atom PDF