buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44490, conn->op_completed which signal...

 
 

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

bug #44490: conn->op_completed which signal by do_recv() may be taken by netconn_write_partly() or lost

Submitter:  wangyu <honghongbuqi>
Submitted:  Mon 09 Mar 2015 05:58:40 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Feature Request Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.4.1

Mon 09 Mar 2015 06:51:20 AM UTC, comment #1: 


> NOW, Receive and transmit at the same time
> [..]
> Why not two signals, one for transmit and one for receive???


Because simultaneous transmit and receive in two different threads is not supported.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 09 Mar 2015 05:58:40 AM UTC, original submission:  

hi:
  I'm sorry to disturb you. there is Some things I am not quite understand.
  Every time a new connection established, the netconn_alloc() must Creating a signal. (sys_sem_new(&conn->op_completed, 0)). the conn->op_completed while be signal by do_recv() or do_writemore(), and be taken by netconn_write_partly() or netconn_recved().
 NOW, Receive and transmit at the same time, do_recv() signal the conn->op_completed and do_writemore() signal the conn->op_completed too. following, the netconn_write_partly() take signal conn->op_completed, but the netconn_recved() take signal is not successed.

  Why not two signals, one for transmit and one for receive???

wangyu <honghongbuqi>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by honghongbuqi (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-09 goldsimon StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code