🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #239

ERROR_INTERRUPT return code

#239
From: Dan Ford
Date: Tue, 04 Aug 1992 19:21
21 lines
1466 bytes
  I have noticed that there are many OS/2 2.0 control program functions that
return (among other possible values) the value ERROR_INTERRUPT.  For example
the function DosRequestMutexSem can return this value.  The documentation is
very skimpy about what conditions can cause this.  It simply says something
like "this value will be returned if the thread was interrupted while 
waiting for the semaphore".  

  Does anyone have more information on this?  How can a thread be interrupted?

I suspect that this is a return code used during the debugging of OS/2 itself.
I understand that at very low levels (inside the operating system) the thread
must supply a unique identifier when it is blocking itself, and that if that
identifier is not unique, another thread could be inadvertently unblocked when
it is time for this thread to be unblocked.  Could this be a relic of this?

Thanks in advance,

Dan Ford
Cardiology Business Unit
Hewlett-Packard
McMinnville, OR
Technical Details
Message-ID: <1992Aug04.192148.28303@hpmcaa.mcm.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!mips!sdd.hp.com!hp-cv!hp-pcd!hpmcaa!hpmcaa!ford

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!mips!sdd.hp.com!hp-cv!hp-pcd!hpmcaa!hpmcaa!ford
From: ford@hpmcaa (Dan Ford)
Subject: ERROR_INTERRUPT return code
Message-ID: <1992Aug04.192148.28303@hpmcaa.mcm.hp.com>
Sender: news@hpmcaa.mcm.hp.com (News Administrator)
Nntp-Posting-Host: hpmcaa.mcm.hp.com
Organization: HP Cardiology Business Unit - McMinnville, OR
X-Newsreader: Tin 1.1 PL4
Date: Tue, 04 Aug 1992 19:21:48 GMT
Lines: 21