Changeset 8647 for trunk/src


Ignore:
Timestamp:
Jun 11, 2002, 6:36:06 PM (23 years ago)
Author:
sandervl
Message:

shorter polling delay + time critical poll thread

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmcomm.h

    r7564 r8647  
    1 /* $Id: hmcomm.h,v 1.13 2001-12-07 11:28:10 sandervl Exp $ */
     1/* $Id: hmcomm.h,v 1.14 2002-06-11 16:36:06 sandervl Exp $ */
    22
    33/*
     
    1515#include <handlemanager.h>
    1616#include "hmdevice.h"
    17 #include "overlappedio.h"
     17#include <overlappedio.h>
    1818
    1919#define MAX_COMPORTS        8
    2020#define MAGIC_COM           0x12abcd34
    2121
    22 #define TIMEOUT_COMM        50
     22#define TIMEOUT_COMM        10
    2323
    2424typedef struct
  • trunk/src/kernel32/overlappedio.cpp

    r8644 r8647  
    1 /* $Id: overlappedio.cpp,v 1.16 2002-06-11 12:51:43 sandervl Exp $ */
     1/* $Id: overlappedio.cpp,v 1.17 2002-06-11 16:36:06 sandervl Exp $ */
    22
    33/*
     
    9494        threadparam->lpOverlappedObj = this;
    9595        hThreadPoll  = ::CreateThread(NULL, 32*1024, OverlappedIOThread, (LPVOID)threadparam, 0, &dwThreadId);
     96        SetThreadPriority(hThreadPoll, THREAD_PRIORITY_TIME_CRITICAL);
    9697    }
    9798
Note: See TracChangeset for help on using the changeset viewer.