[Info-vax] QIO Writes to a mailbox

Christoph Gartmann gartmann at nonsense.immunbio.mpg.de
Fri Nov 4 06:13:08 EDT 2011


In article <e519cbe4-54bc-480c-8b07-267b9f90edda at q13g2000vbd.googlegroups.com>, Steve Bainbridge <stephen_bainbridge at yahoo.co.uk> writes:

>We have some old code that issues a QIO WRITEVBLK to a mailbox - the
>return code from the QIO is normal. Another process reads the mailbox
>and never gets the message - this only happens very rarely.
>Unfortunately the writer does not check or report what value the IOSB
>returns and I need to try and understand why these messages are
>getting lost. I can't reproduce this on our test systems and I can't
>easily install updated diagnostic code onto these production systems.
>
>The question I have is when is the data pointed to by P1 (in the QIO
>call) actually copied ? It is always done within the QIO routine or is
>it just scheduled to be done in the QIO call ? Can I re-use the buffer
>pointed to by P1 immediately after the call to the QIO ?

Is it QIO or QIOW? The former is asynchronous, that is, the program continues
and doesn't wait for the function to complete. This would explain your
problems.

Regards,
   Christoph Gartmann

-- 
 Max-Planck-Institut fuer      Phone   : +49-761-5108-464   Fax: -80464
 Immunbiologie und Epigenetik
 Postfach 1169                 Internet: gartmann at immunbio dot mpg dot de
 D-79011  Freiburg, Germany
               http://www.immunbio.mpg.de/home/menue.html



More information about the Info-vax mailing list