lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] mailboxes and threads


From: John Taylor
Subject: [lwip-users] mailboxes and threads
Date: Tue, 13 Jan 2004 18:26:56 -0500

I am trying port lwip to XMK which requires resources such as threads
and mailboxes to be pre-allocated.  I am trying to get a handle on how
many threads and mailboxes lwip creates (so I know how many to
pre-allocate).  This is what I have so far.

Threads:
- One thread gets create when tcpip_init() is called.
- An additional thread gets create when a PPP connection is made.  I
presume the thread dies/is-terminated when the connection is torn down.

Mailboxes:
- A mailbox is created the for "tcp_ip" thread
- A mailbox gets created for every connection.  I presume that the
mailboxes get deleted when the connections get dropped/terminated.
 

Is this correct?

-john



John T. Taylor
Shift-Right Technologies, LLC.
433 Comanche Trl
Lawrenceville, GA 30044
Tel: 678-344-3115
Fax: 770-736-9276
email: address@hidden
url: www.shift-right.com






reply via email to

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