Lines Matching refs:newthread
554 myThread* newthread = new myThread(); in create_001() local
555 sal_Bool bRes = newthread->create(); in create_001()
559 sal_Bool isRunning = newthread->isRunning(); // check if thread is running in create_001()
562 sal_Int32 nValue = newthread->getValue(); in create_001()
564 termAndJoinThread(newthread); in create_001()
565 delete newthread; in create_001()
581 myThread* newthread = new myThread(); in create_002() local
582 sal_Bool res1 = newthread->create(); in create_002()
583 sal_Bool res2 = newthread->create(); in create_002()
585 termAndJoinThread(newthread); in create_002()
586 delete newthread; in create_002()
623 myThread* newthread = new myThread(); in createSuspended_001() local
624 sal_Bool bRes = newthread->createSuspended(); in createSuspended_001()
628 sal_Bool isRunning = newthread->isRunning(); in createSuspended_001()
630 sal_Int32 nValue = newthread->getValue(); in createSuspended_001()
632 resumeAndWaitThread(newthread); in createSuspended_001()
634 termAndJoinThread(newthread); in createSuspended_001()
635 delete newthread; in createSuspended_001()
645 myThread* newthread = new myThread(); in createSuspended_002() local
646 sal_Bool res1 = newthread->createSuspended(); in createSuspended_002()
647 sal_Bool res2 = newthread->createSuspended(); in createSuspended_002()
649 resumeAndWaitThread(newthread); in createSuspended_002()
651 termAndJoinThread(newthread); in createSuspended_002()
653 delete newthread; in createSuspended_002()
838 myThread* newthread = new myThread(); in resume_002() local
839 sal_Bool bRes = newthread->createSuspended(); in resume_002()
842 newthread->resume(); in resume_002()
844 sal_Int32 nValue = newthread->getValue(); in resume_002()
846 termAndJoinThread(newthread); in resume_002()
847 delete newthread; in resume_002()