For implementing thread in most of the example I saw a run() function is 
overloaded. Example is given here :

////////////////////////code////////////////
#include <iostream>
#include "thread.h"
class MyThread : public kbcafe::thread
{
public:
virtual void run()
{
std::cout << "Hello" << std::endl;
};
};
int main(int argc, char* argv[])
{
MyThread thread;
thread.start();
::Sleep(1000);
return 0;
}


But how can i implement my own application. Suppose i have two or more objects. 
I want to implement them using thread. 
I am very new in c++. Plz, help me giving an example....................



 Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Non-text portions of this message have been removed]

Reply via email to