lwIP - A Lightweight TCP/IP stack - Patches: patch #8871, unixsim: add PPPoS Rx thread...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8871: unixsim: add PPPoS Rx thread (lwip-contrib)
Submitter: | Stephan Linz <slz> | ||
Submitted: | Tue 19 Jan 2016 07:56:47 AM UTC | ||
Category: | PPP | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | gradator | Open/Closed: | Closed |
Planned Release: | None |
Tue 19 Jan 2016 08:29:59 PM UTC, comment #1: |
Sylvain Rochet <gradator> |
Tue 19 Jan 2016 07:56:47 AM UTC, original submission:
As describe in lwip/doc/ppp.txt chapter "Upgrading from lwIP <= 1.4.x to lwIP >= 1.5.x" the unixsim must provide its own PPP input thread to read raw data from serial line: "... PPP_INPROC_OWNTHREAD was broken by design and was removed, you have to create your own serial rx thread ..." Details about howto do that can read in the same document in chapter "PPPoS input path".
|
Stephan Linz <slz> |
Depends on the following items: None found
Items that depend on this one: None found
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-01-19 | gradator | Category | Platform ports | PPP | |
Status | None | Done | |||
Assigned to | None | gradator | |||
Open/Closed | Open | Closed | |||
2016-01-19 | slz | Attached File | - | Added 0001-unixsim-add-PPPoS-Rx-thread.patch, #36091 |
Powered by Savane 3.13-4b48.
Corresponding source code
Absolutely, applied (with some nitpick changes), thank you ! :)
Having threads running this way just to do I/O is quite a bad design choice (compared to using epoll or even poll/select for example) on a Linux system, but hey!, this is just an example for OS targets and the TCP/IP API :-)
Sylvain