X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fyaz-pdu-assoc.cpp;h=ae8bfaf22a9f3876c4fca4fba802d5b145236323;hb=316df82985a4207a7d52e7d88567bf26d5c2c7c8;hp=289a52bb1fe945da3fbd972637ed83c53b414875;hpb=eea3cf8293bab09d65bac8d34e16b1a12ed67919;p=yazpp-moved-to-github.git diff --git a/src/yaz-pdu-assoc.cpp b/src/yaz-pdu-assoc.cpp index 289a52b..ae8bfaf 100644 --- a/src/yaz-pdu-assoc.cpp +++ b/src/yaz-pdu-assoc.cpp @@ -1,10 +1,12 @@ /* - * Copyright (c) 1998-1999, Index Data. + * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-pdu-assoc.cpp,v $ - * Revision 1.12 2000-09-06 14:23:45 adam + * Revision 1.13 2000-09-08 10:23:42 adam + * Added skeleton of yaz-z-server. + * + * Revision 1.12 2000/09/06 14:23:45 adam * WIN32 updates. * * Revision 1.11 2000/09/04 08:29:22 adam @@ -396,7 +398,7 @@ void Yaz_PDU_Assoc::socket(IYaz_PDU_Observer *observer, int fd) } } -#if 1 +#if 0 // Single-threaded... Only useful for non-blocking handlers void Yaz_PDU_Assoc::childNotify(int fd) @@ -420,9 +422,10 @@ void Yaz_PDU_Assoc::childNotify(int fd) #include #endif -void #ifdef WIN32 -__cdecl +void __cdecl +#else +void * #endif events(void *p) {