Lines Matching refs:aThread

735                 OSuspendThread* aThread = new OSuspendThread();  in suspend_002()  local
736 sal_Bool bRes = aThread->create(); in suspend_002()
743 nValue = aThread->getValue(); // (1) in suspend_002()
747 aThread->setSuspend(); in suspend_002()
753 nValue = aThread->getValue(); // (2) in suspend_002()
758 sal_Int32 nLaterValue = aThread->getValue(); // (3) in suspend_002()
761 aThread->resume(); in suspend_002()
762 termAndJoinThread(aThread); in suspend_002()
763 delete aThread; in suspend_002()
1901 OAddThread* aThread = new OAddThread(); in schedule_001() local
1902 sal_Bool bRes = aThread->create(); in schedule_001()
1906 aThread->suspend(); in schedule_001()
1908 sal_Int32 nValue = aThread->getValue(); in schedule_001()
1910 sal_Int32 nLaterValue = aThread->getValue(); in schedule_001()
1921 aThread->resume(); in schedule_001()
1924 aThread->terminate(); in schedule_001()
1925 sal_Int32 nValue_term = aThread->getValue(); in schedule_001()
1927 aThread->join(); in schedule_001()
1928 sal_Int32 nValue_join = aThread->getValue(); in schedule_001()
1936 delete aThread; in schedule_001()
1949 ONoScheduleThread aThread; // this thread runs 10 sec. (no schedule() used) in schedule_002() local
1950 sal_Bool bRes = aThread.create(); in schedule_002()
1954 aThread.suspend(); in schedule_002()
1955 sal_Int32 nValue = aThread.getValue(); in schedule_002()
1958 sal_Int32 nLaterValue = aThread.getValue(); in schedule_002()
1961 resumeAndWaitThread(&aThread); in schedule_002()
1976 aThread.resume(); in schedule_002()
1984 termAndJoinThread(&aThread); in schedule_002()
1985 sal_Int32 nValue_term = aThread.getValue(); in schedule_002()