Karsten Döring
May 27th, 1999, 03:34 AM
Hi,
I have several Threads of following class running:
class CThreadTest : public CWinThread
{
public:
DECLARE_DYNCREATE( CThreadTest )
virtual BOOL InitInstance();
virtual int Run();
char recv_Data[1024];
}
Everything works fine, but I want to know, if recv_Data is local on each thread? That means if I modify recv_Data on each Thread at the same time, do I change it in every Thread and is it in every Thread the same then?
I hope u understand my problem.
Thanx in advance.
Karsten
I have several Threads of following class running:
class CThreadTest : public CWinThread
{
public:
DECLARE_DYNCREATE( CThreadTest )
virtual BOOL InitInstance();
virtual int Run();
char recv_Data[1024];
}
Everything works fine, but I want to know, if recv_Data is local on each thread? That means if I modify recv_Data on each Thread at the same time, do I change it in every Thread and is it in every Thread the same then?
I hope u understand my problem.
Thanx in advance.
Karsten