worker.h File Reference
#include <string>
#include <cxxtools/thread.h>
#include <cxxtools/mutex.h>
#include <tnt/comploader.h>
#include <tnt/tntnet.h>
#include <tnt/scope.h>
#include <tnt/threadcontext.h>

Go to the source code of this file.

Classes

class  tnt::Worker

Namespaces

namespace  tnt
 in tntnet (mainthread): Jobqueue queue; void mainloop() { while (1) { Jobqueue::JobPtr j = new Tcpjob(); j->accept(poller.get()); queue.put(j); } }