- Timestamp:
- Oct 10, 2002, 6:28:40 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/dbglog.cpp
r9322 r9340 1 /* $Id: dbglog.cpp,v 1. 3 2002-10-03 13:05:55sandervl Exp $ */1 /* $Id: dbglog.cpp,v 1.4 2002-10-10 16:28:40 sandervl Exp $ */ 2 2 3 3 /* … … 255 255 static BOOL fFlushLines = FALSE; 256 256 257 static char *pszLastLogEntry = NULL; 258 257 259 //#define CHECK_ODINHEAP 258 260 #if defined(DEBUG) && defined(CHECK_ODINHEAP) … … 287 289 va_list argptr; 288 290 TEB *teb = GetThreadTEB(); 291 292 pszLastLogEntry = tekst; 289 293 290 294 ODIN_HEAPCHECK(); … … 452 456 int rc; 453 457 458 servername.sin_family = AF_INET; 459 servername.sin_port = WIN32_IP_LOG_PORT; 460 454 461 rc = sendto(logSocket, logbuffer, strlen(logbuffer)+1, 0, (struct sockaddr *)&servername, sizeof(servername)); 455 462 if(rc == -1) { 463 rc = sock_errno(); 464 } 456 465 if(teb) teb->o.odin.logfile = 0; 457 466 va_end(argptr); -
trunk/src/kernel32/overlappedio.cpp
r8958 r9340 1 /* $Id: overlappedio.cpp,v 1. 19 2002-08-04 15:26:52sandervl Exp $ */1 /* $Id: overlappedio.cpp,v 1.20 2002-10-10 16:28:40 sandervl Exp $ */ 2 2 3 3 /* … … 388 388 else index = ASYNC_INDEX_WRITE; 389 389 390 addRequest(index, lpRequest);391 392 390 lpOverlapped->Internal = STATUS_PENDING; 393 391 lpOverlapped->InternalHigh = 0; 394 392 //reset overlapped semaphore to non-signalled 395 393 ::ResetEvent(lpOverlapped->hEvent); 394 395 //Add request to queue; must make sure we do this right before waking the async thread 396 addRequest(index, lpRequest); 396 397 397 398 //wake up async thread … … 437 438 lpRequest->next = NULL; 438 439 439 addRequest(ASYNC_INDEX_READ, lpRequest);440 441 440 lpOverlapped->Internal = STATUS_PENDING; 442 441 lpOverlapped->InternalHigh = 0; 443 442 //reset overlapped semaphore to non-signalled 444 443 ::ResetEvent(lpOverlapped->hEvent); 444 445 //Add request to queue; must make sure we do this right before waking the async thread 446 addRequest(ASYNC_INDEX_READ, lpRequest); 445 447 446 448 //wake up async thread … … 514 516 } 515 517 518 //add request to list; must make sure we do this right before waking the async thread 516 519 addRequest(ASYNC_INDEX_POLL, lpRequest); 517 520
Note:
See TracChangeset
for help on using the changeset viewer.