X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=src%2Ftstthreads.cpp;fp=src%2Ftstthreads.cpp;h=b562d65f08ba474e2cf1a911d6e69fa8efe0ea16;hp=f721f40948f66338458033183d28d78f6bc6d2b3;hb=d7f41f16caf965adb1a5ffcdaa937787dfcc030a;hpb=850cba55769a7ed94d4da0e7c05b823e54ce3cc3 diff --git a/src/tstthreads.cpp b/src/tstthreads.cpp index f721f40..b562d65 100644 --- a/src/tstthreads.cpp +++ b/src/tstthreads.cpp @@ -1,4 +1,4 @@ -/* $Id: tstthreads.cpp,v 1.5 2005-06-08 13:29:03 adam Exp $ +/* $Id: tstthreads.cpp,v 1.6 2005-06-25 15:58:33 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -63,7 +63,7 @@ public: }; My_Timer_Thread::My_Timer_Thread(ISocketObservable *obs, - Msg_Thread *t) : m_obs(obs) + Msg_Thread *t) : m_obs(obs) { pipe(m_fd); m_t = t; @@ -89,6 +89,14 @@ int main(int argc, char **argv) My_Timer_Thread t(&mySocketManager, &m) ; int i = 0; while (++i < 5 && mySocketManager.processEvent() > 0) - ; + ; return 0; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +