[OpenSTA-devel] [ opensta-Bugs-1570977 ] ACQUIRE MUTEX
Brought to you by:
dansut
From: SourceForge.net <no...@so...> - 2007-10-17 18:49:13
|
Bugs item #1570977, was opened at 2006-10-04 16:23 Message generated for change (Comment added) made by velivis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1570977&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open >Resolution: Works For Me Priority: 5 Private: No Submitted By: Jerome Delamarche (trickyjer) Assigned to: Nobody/Anonymous (nobody) Summary: ACQUIRE MUTEX Initial Comment: The SCL Manual says "ACQUIRE MUTEX" is used for inter- script synchronization. It also says the Timeout value is in seconds. It appears that: - ACQUIRE MUTEX works also to synchronize threads (and fortunately it works !) - the Timeout value is dependent of the WAIT UNIT instruction - the ON TIMEOUT GOTO and ON ERROR GOTO clauses are mandatory to avoid a "TOF error" at runtime ---------------------------------------------------------------------- >Comment By: Bernie Velivis (velivis) Date: 2007-10-17 13:49 Message: Logged In: YES user_id=1868094 Originator: NO The SCL manual says that ACQUIRE MUTEX is used to synchronize either scripts running on the local machine (scope local) or all scripts across all injectors (Test-wide). It works as documented. The ON TIMEOUT and ON ERROR clauses are documented as being optional and I am unable to reproduce TOF errors by omitting them. The SCL documentation in the modeler states incorrectly that units for the wait time in the ACQUIRE MUTEX command are in seconds. All my testing shows the wait time units for the ACQUIRE MUTEX command are in milliseconds regardless of WAIT UNIT (seconds or milliseconds). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1570977&group_id=10857 |