lwIP - A Lightweight TCP/IP stack - Tasks: task #7499, Current thread information for...
You are not allowed to post comments on this tracker with your current authentication level.
task #7499: Current thread information for debugging purposes
Submitter: | Simon Goldschmidt <goldsimon> | ||
Submitted: | Fri 30 Nov 2007 09:28:46 AM UTC | ||
Category: | None | Should Start On: | Fri 30 Nov 2007 12:00:00 AM UTC |
Should be Finished on: | Fri 30 Nov 2007 12:00:00 AM UTC | Priority: | 5 - Normal |
Status: | Cancelled | Privacy: | Public |
Assigned to: | None | Percent Complete: | 0% |
Open/Closed: | Closed | Planned Release: | None |
Effort: | 0.00 |
Wed 05 Dec 2007 01:58:01 PM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
Wed 05 Dec 2007 01:30:48 PM UTC, comment #3: I'm not sure this would add much. The bug reports are quite common, but I think that would be better solved with some documentation/FAQ that explains what they've probably done wrong. Also, by the time someone had filed a bug report and been told to try compiling this stuff in, we're already pretty sure that multiple threads are a problem. |
Kieran Mansley <kieranm> |
Fri 30 Nov 2007 05:09:47 PM UTC, comment #2: I suppose that we need for to improve the documentation (always) that adding too many "ASSERT" in the source code, which become less readable.
|
Frédéric Bernon <fbernon> |
Fri 30 Nov 2007 04:20:54 PM UTC, comment #1: I think it may be more useful to put this on top of some genuinely useful functionality, like per-thread data, than to create macros solely for use by debug code. For now we can mark them as optional, but if we wanted to change that, then ports wouldn't have to change anything.
|
Jonathan Larmour <jifl> |
Fri 30 Nov 2007 09:28:46 AM UTC, original submission:
Seeing all the 'bug reports' on the users list, I think it would be nice to define debug-functions to get the current thread-ID or pointer or whatever to identify the currently running thread. Most OSes should know how to do that (either get the current prio or a pointer to the thread control block or a unique ID...).
|
Simon Goldschmidt <goldsimon> |
No files currently attached
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 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-12-05 | goldsimon | Status | None | Cancelled | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
accepted :-)