Class TestWorkspace3


  • public class TestWorkspace3
    extends TestWorkspaceBase
    Test the following scenario: thread T1 gets read access; thread T2 gets read access; T1 waits for write access; T2 releases read access; T1 wakes up and gets write access.
    Since:
    Ptolemy II 3.0
    Version:
    $Id$
    Author:
    Xiaojun Liu
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Green (eal)
    • Constructor Detail

      • TestWorkspace3

        public TestWorkspace3()
    • Method Detail

      • initializeTest

        public void initializeTest()
        Description copied from class: TestWorkspaceBase
        Create threads that access a workspace in various ways. List the threads in _accessThreads.
        Specified by:
        initializeTest in class TestWorkspaceBase