안녕하세요....
thread에 대한 질문을 많이 올리는데요....
thread루프에서 배열에 저장된 값을 메인 루프에서 읽어 오니까 어느 정도
읽다가 프로그램이 종료 되어 버립니다....
소스는 다음과 같습니다...
[code:1]
/////thread.cpp///////
#include <iostream>
using namespace std;
#include "thread.h"
FILE *fp1;
extern unsigned char buf[100000];
int cnt = 0;
int i = 0;
Thread::Thread()
{
stopped = false;
}
void Thread::setMessage(const QString &message)