5
Last change
on this file since d5154d0f was
d5154d0f,
checked in by Aun-Ali Zaidi <admin@…>, on 12/23/15 at 20:44:02
|
api: Remove deprecated Notepads
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.
In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:
- 16 32-bit integers were allocated.
- A total of 64 bytes per task per thread.
This is especially critical in low memory and safety-critical applications.
They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.
Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.
updates #2493.
|
-
Property mode set to
100644
|
File size:
990 bytes
|
Line | |
---|
1 | *** BEGIN OF TEST SP 7 *** |
---|
2 | rtems_extension_create - bad id pointer -- RTEMS_INVALID_ADDRESS |
---|
3 | rtems_extension_create - bad name -- RTEMS_INVALID_NAME |
---|
4 | rtems_extension_create - first one -- OK |
---|
5 | rtems_extension_create - second one-- OK |
---|
6 | rtems_extension_create -- RTEMS_TOO_MANY |
---|
7 | rtems_extension_delete - second one -- OK |
---|
8 | rtems_extension_delete - second one again -- RTEMS_INVALID_ID |
---|
9 | rtems_extension_ident -- OK |
---|
10 | rtems_extension_ident - bad name -- RTEMS_INVALID_NAME |
---|
11 | rtems_extension_ident - bad name -- RTEMS_INVALID_ADDRESS |
---|
12 | rtems_extension_create - harmless -- OK |
---|
13 | <pause> |
---|
14 | TA1 - rtems_task_set_priority - get initial priority of self: 04 |
---|
15 | TA1 - rtems_task_set_priority - set TA2's priority: 03 |
---|
16 | TA2 - rtems_task_set_priority - set TA1's priority: 02 |
---|
17 | TA1 - rtems_task_set_priority - set TA2's priority: 01 |
---|
18 | TA2 - rtems_task_suspend - suspend TA1 |
---|
19 | TA2 - rtems_task_set_priority - set priority of TA1 ( blocked ) |
---|
20 | TA4 - exitting task |
---|
21 | RTEMS_TASK_EXITTED - extension invoked for TA4 |
---|
22 | *** END OF TEST SP 7 *** |
---|
Note: See
TracBrowser
for help on using the repository browser.