os.read in non blocking mode of os.open : resource busy error

os.read in non blocking mode of os.open : resource busy error

Post by Kushal Kum » Mon, 22 Jun 2009 18:47:45



`EAGAIN'
Normally, when no input is immediately available, `read'
waits for some input. But if the `O_NONBLOCK' flag is set
for the file (*note File Status Flags::), `read' returns
immediately without reading any data, and reports this error.

And from ipython:

In [1]: import errno

In [2]: print errno.EAGAIN
11

That's your error 11.
 
 
 

1. Obsucure Inquier article about Intel mentions VMS (and not any other OS') other OS') other OS') other OS') other OS') other OS') other OS') other OS') other OS')

2. Obsucure Inquier article about Intel mentions VMS (and not any other OS') other OS') other OS') other OS') other OS') other OS') other OS') other OS') other OS')

> -----Original Message-----


And you think perhaps that this does not happen?

Course, there are many ways to offer different opinions within a large
company, but keep in mind that every OS or platform within a company
will always try and say it needs more $'s to promote/enhance itself.

Take a big company like IBM - what do you think an AIX field person's
chances are of convincing their Mgmt to quit promoting Linux as AIX is a
better system?

Or even Sun - what would someone like Andrew's chances be to convince
his Mgmt that investing in AMD is a mistake as SPARC is the only HW
solution to focus on?

The wise man knows when to pick his battles and when to bend when he has
to.

:-)

Kerry Main
Senior Consultant
HP Services Canada
Voice: 613-592-4660
Fax: 613-591-4477
kerryDOTmainAThpDOTcom
(remove the DOT's and AT)

"OpenVMS has always had integrity ..
Now, Integrity has OpenVMS .."

3. comp.os.linux, comp.os.linux.redhat, comp.os.linux.advocacy, comp.os.linux.help

4. Error reading a file in REXX on OS/390 ans z/OS

5. Non-Blocking read() failed on busy server

6. How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

7. DB2 z/OS procedures - Nested Block error in Exception Block

8. How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

9. Non-RISC OS partitions on IDE/SCSI podules and counting RISC OS 5 discs

10. English OS vs non-English OS

11. Accessing Guest OS resources from Host OS

12. OS X Classic mode versus Actual OS 9

13. OS X corrupts Alternate Volume Header Block in OS 9

14. IPSec in transport mode with non-Windows OS