-/*
- * Copyright (c) 1998-2004, Index Data.
+/* This file is part of the yazpp toolkit.
+ * Copyright (C) Index Data
* See the file LICENSE for details.
- *
- * $Id: yaz-pdu-assoc-thread.cpp,v 1.16 2008-01-21 15:57:27 adam Exp $
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#ifdef WIN32
#define USE_THREADS 1
#endif
ISocketObservable *socketObservable)
: PDU_Assoc(socketObservable)
{
-
+
+}
+
+PDU_AssocThread::~PDU_AssocThread()
+{
+
}
void worker::run()
void __cdecl
#else
void *
-#endif
+#endif
events(void *p)
{
worker *w = (worker *) p;
/// Clone PDU Observer
new_observable->m_PDU_Observer =
m_PDU_Observer->sessionNotify(new_observable, cs_fileno(cs));
-
+
if (!new_observable->m_PDU_Observer)
{
new_observable->shutdown();
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab