problems with IO completion port

problems with IO completion port

Post by vija » Tue, 15 Jul 2003 19:29:06


Hello
I have joined this group some time back

I would like to ask if any body have come across similar problems with IO
completion port hangs
I have a client server architecture
Client posts the some tasks requests into server IOCompletion port through
DCOM RPC threads

There are 5 worker threads waiting for the same . IO synchronises task
requests across the 5 theads. Once a thread completes a task it will
again invoke GetQueuedCompletionStatus and wait for infinite period of
time,

NOw the problem is , I can see from the traces that client is posting the
tasks to the server IOcoimpletion but the 5 worker threads are not able to
retrieve the tasks from the same
I wanted to know, if any body have faced similar problems with IO

Thanks
Regards
vijay
 
 
 

1. Problems with IO Completion port

2. More overlapped IO and IO completion port questions

1. When I issue an asynchronous ReadFile and that IO completes with
ERROR_MORE_DATA, does GetQueuedCompletionStatus() return true? How do I
determine that ERROR_MORE_DATA was returned as a result of the read? Do I
call GetOverlappedResult() after calling GetQueuedCompletionStatus()?

2. When I issue an asynchronous ReadFile() and that read ends up returning
ERROR_BROKEN_PIPE does GetQueuedCompletionStatus() return true? It's similar
to question #1 except that no data was transferred.

3. If I call the API (so far using ConnectNamedPipe, ReadFile, WriteFile)
passing the overlapped structure and a handle opened with the overlapped flag
thus allowing for asynchronous behavior, will an IO completion packet be
queued to the IO completion port even if the data is available and the API
returns a success code synchronously?

--
Thanks,
Nick

XXXX@XXXXX.COM
remove "nospam" change community. to msn.com

3. Difference between IO Completion Port and Serial Port

4. Sockets & IO Completion ports problem

5. ATL Threadpool socket server using IO Completion Ports - problem

6. IO Completion ports and asynch sockets

7. Question on Job Object and IO Completion Ports

8. Sockets and IO completion ports

9. raliable multicast (PGM) with IO completion ports

10. Ho to detect unused connections with Io Completion ports?

11. Question about IO Completion Port with Socket

12. IO completion port with callbacks

13. IO Completion Ports

14. Regarding IO Completion ports

15. IO Completion Ports