Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8618895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:12:49+00:00 2026-06-12T06:12:49+00:00

I am learning about poll , select and similar functions and I am constantly

  • 0

I am learning about poll, select and similar functions and I am constantly bothered by the statement “would block” (which shows up both on the book I am reading about building drivers for Linux and also on the man pages of poll and select). I don’t really get this. What would be blocked? The process which is reading/writing to a file descriptor? The reading/writing operation itself, in the sense that no other process would be able to read/write to that file when the current process is reading/writing on it?

I am sorry if this is a stupid question but I am having a difficult time finding the answer for this question anywhere.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:12:50+00:00Added an answer on June 12, 2026 at 6:12 am

    Would block means that the process making the system call would block (wait) until the system call returns. For example, if you ask your program to read a file, after issuing the read command, your program will wait (block) until the operating system performs the read and returns the results to your program.

    With regards to multiple programs accessing the same file, multiple processes can read the same file. However, you can (and usually will) have race conditions when one or more processes is writing to a file that has one or more processes reading the same file. In other words, blocking is with regards to a single process accessing a file, and gives no guarantees about the order of operations (e.g. reads and writes) between two processes accessing the same file. (I was thinking about files for some reason; the read/write characteristics of pipes and sockets differ significantly from those of files on a filesystem).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While learning about NSOperation, I wondered why a completion block would have any advantage
I am learning about Algebraic DTs in haskell. What I would like to do
I've recently began learning about QThreads and I've a program which runs a 4
I've been learning about encapsulation in AS3 and using get/set functions to make variables
I'm learning about namespaces in PHP 5.3 and I would like to use Namespaces
I'm currently learning about jsf 2.0 from core jsf 2.0 book + glassfish +
I'm currently learning about jsf 2.0 from core jsf 2.0 book + glassfish +
I'm currently learning about JSF 2.0 and i would like to ask about how
I learning about some basic C functions and have encountered time(NULL) in some manuals.
I am learning about C pointers by creating various simple functions. I have just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.