patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10425, Sockets API: select() and poll()...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #10425: Sockets API: select() and poll() attend to interruption signals

Submitter:  Joan Lledó <jllledo>
Submitted:  Wed 03 Jan 2024 10:53:32 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Wed 03 Jan 2024 10:53:32 AM UTC, original submission:  

The POSIX standard requires select() and poll() to return -1 and set
errno to EINTR when they are signaled to be interrupted while waiting.

Refs:


In my previous set of patches over the POSIX library, sys_arch_sem_wait can return SYS_ARCH_INTR when receiving UINT32_MAX as timeout.

This patch updates select() and poll() to listen to interruptions and meet the POSIX requirements.

Joan Lledó <jllledo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jllledo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-03 jllledo Attached File- Added 0007-Sockets-API-select-and-poll-attend-to-signals.patch, #55519

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code