Moving the ASCII writer over to use UNIX I/O rather than stdio.

This commit is contained in:
Robin Sommer 2012-07-17 19:02:36 -07:00
parent f6b883bafc
commit e90918aa50
4 changed files with 24 additions and 24 deletions

View file

@ -87,18 +87,17 @@ const char* BasicThread::Strerror(int err)
void BasicThread::Start()
{
if ( started )
return;
started = true;
int err = pthread_create(&pthread, 0, BasicThread::launcher, this);
if ( err != 0 )
reporter->FatalError("Cannot create thread %s:%s", name.c_str(), Strerror(err));
DBG_LOG(DBG_THREADING, "Started thread %s", name.c_str());
started = true;
OnStart();
}