[syslinux:lwip] core thread: Rename timeouts pvt to better reflect it's use.

syslinux-bot for Eric W. Biederman ebiederm at xmission.com
Fri Apr 22 20:05:07 PDT 2011


Commit-ID:  853e2e8034316a07beedff69adcdb0d04c4cd113
Gitweb:     http://syslinux.zytor.com/commit/853e2e8034316a07beedff69adcdb0d04c4cd113
Author:     Eric W. Biederman <ebiederm at xmission.com>
AuthorDate: Fri, 8 Apr 2011 05:31:41 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Sat, 9 Apr 2011 18:27:06 -0700

core thread: Rename timeouts pvt to better reflect it's use.

lwip needs to find a per thread list of timeouts when it calls
sys_arch_thread_timeouts().  Since we support threads we
can easily support this extra bit of private data.

Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>


---
 core/include/thread.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/core/include/thread.h b/core/include/thread.h
index f1212eb..55a3ed7 100644
--- a/core/include/thread.h
+++ b/core/include/thread.h
@@ -20,13 +20,11 @@ struct thread_block {
     bool timed_out;
 };
 
-struct sys_timeouts;
-
 struct thread {
     void *esp;			/* Must be first; stack pointer */
     struct thread_list  list;
     struct thread_block *blocked;
-    struct sys_timeouts *timeouts; /* For the benefit of lwIP */
+    void *pvt; 			/* For the benefit of lwIP */
     int prio;
 };
 



More information about the Syslinux-commits mailing list