lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-805-gc5db278
Date: Tue, 25 Jul 2017 16:11:06 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  c5db278746daedcc6566822992f3f33ce3801470 (commit)
      from  0ee6ad0a3a0880d94ea8c1be657b540ca77e1417 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c5db278746daedcc6566822992f3f33ce3801470
Author: Joel Cunningham <address@hidden>
Date:   Fri Jul 21 14:36:57 2017 -0500

    sockets: Refactor event_callback()
    
    This refactors event_callback() to separate updating socket event
    state from processing the select list (to apply socket event change)
    
    Refactoring changes:
    
    1) select_list_cb processing has been moved to a new local function called
    select_check_waiters()
    2) goto no_select_wakeup has been removed and now we use a flag
    to track whether to call select_check_waiters()
    3) There is a small functional change for !LWIP_TCPIP_CORE_LOCKING.
    We call SYS_ARCH_UNPROTECT after saving events but before calling
    select_check_waiters() (which now calls PROTECT before starting the loop).
    Before the code held the PROTECT across saving the events and the first
    loop iteration, but this didn't protect against anything because each loop
    iteration we do an UNPROTECT/PROTECT
    4) Better documentation for both LWIP_TCPIP_CORE_LOCKING and
    !LWIP_TCPIP_CORE_LOCKING

-----------------------------------------------------------------------

Summary of changes:
 src/api/sockets.c | 86 ++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 54 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]