/[LeafOK_CVS]/innwebd/base.cpp
ViewVC logotype

Diff of /innwebd/base.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Sun Jul 4 08:04:08 2004 UTC Revision 1.6 by sysadm, Sun Jul 4 22:49:03 2004 UTC
# Line 463  int base::s_receive(CString& out_str, co Line 463  int base::s_receive(CString& out_str, co
463    
464  int base::begin(void)  int base::begin(void)
465  {  {
466            HANDLE hThread;
467          ULONG ulThreadId;          ULONG ulThreadId;
468          unsigned int time_wait = 0;          unsigned int time_wait = 0;
469    
470          if (!this->IsShutdown())          if (!this->IsShutdown())
471                  return 1;                  return 1;
472    
473          if (this->hThread = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)base::Thread,(LPVOID)this,0,&ulThreadId))          if (hThread = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)base::Thread,(LPVOID)this,0,&ulThreadId))
474          {          {
475                    CloseHandle(hThread);
476                  syslog << logfile::log_head << "Create thread ... OK" << endl;                  syslog << logfile::log_head << "Create thread ... OK" << endl;
477          }          }
478          else          else


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1