| 19 | | NSThread *thread1 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 20 | | NSThread *thread2 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 21 | | NSThread *thread3 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 22 | | NSThread *thread4 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 23 | | NSThread *thread5 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 24 | | NSThread *thread6 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 25 | | NSThread *thread7 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 26 | | NSThread *thread8 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 27 | | NSThread *thread9 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 28 | | NSThread *thread0 = [[NSThread alloc] initWithTarget:self selector:@selector(performLinkTest:) object:nil]; |
|---|
| 29 | | |
|---|
| 30 | | [thread1 start]; [thread2 start]; |
|---|
| 31 | | [thread3 start]; [thread4 start]; |
|---|
| 32 | | [thread5 start]; [thread6 start]; |
|---|
| 33 | | [thread7 start]; [thread8 start]; |
|---|
| 34 | | [thread9 start]; [thread0 start]; |
|---|
| | 24 | for(int i = 0; i < THREAD_COUNT; i++) |
|---|
| | 25 | { |
|---|
| | 26 | [threads[i] start]; |
|---|
| | 27 | } |
|---|