Welcome, Guest. Please login or register.

Author Topic: Cleaning IORequests dillema/CreateExtIO bug ?  (Read 2240 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show all replies
Re: Cleaning IORequests dillema/CreateExtIO bug ?
« on: September 30, 2005, 04:23:06 PM »
Quote
It hangs. It seems that when using CreateExtIO, CheckIO won't be able to check correctly if anunsent request has returned or not.


CreateExtIO likely (AROS version does) sets ln_Type to NT_MESSAGE. CreateIORequest does not.

If ln_Type is NT_MESSAGE CheckIO thinks request is in use/not finished and the abortio + waitio thing is done although request was never sent.

It's better to use some bool variable to remember whether a request was ever sent.