News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

I/O Concepts library

Started by 0x401000, February 04, 2010, 09:05:30 AM

Previous topic - Next topic

0x401000

Are there any library to work with I / O Completion Ports ? Looking at the assembly, but may have written in C + + ,thanks!

Farabi

If you are talking about I/O hardware port, well you will not able to use it on XP or above, and you will need to make a driver.

For I/O port you only need in and out instruction
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

redskull

I'm not sure what kind of functions you would want an IOCP library to provide.  Basically, you just create it with one call (CreateIoCompletionPort) and then have your threads wait on it with another (GetQueuedCompletionStatus).  The hard part is designing the rest of the code to be more general, so that any worker thread can handle reqeuests to or from any client (instead of one dedicated thread per client).

Also, @Farabi, IO completion ports != IO hardware ports.

-r
Strange women, lying in ponds, distributing swords, is no basis for a system of government