source: rtems/testsuites/sptests/sp07/sp07.scn @ d5154d0f

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 ***
2rtems_extension_create - bad id pointer -- RTEMS_INVALID_ADDRESS
3rtems_extension_create - bad name -- RTEMS_INVALID_NAME
4rtems_extension_create - first one -- OK
5rtems_extension_create - second one-- OK
6rtems_extension_create -- RTEMS_TOO_MANY
7rtems_extension_delete - second one -- OK
8rtems_extension_delete - second one again -- RTEMS_INVALID_ID
9rtems_extension_ident -- OK
10rtems_extension_ident - bad name -- RTEMS_INVALID_NAME
11rtems_extension_ident - bad name -- RTEMS_INVALID_ADDRESS
12rtems_extension_create - harmless -- OK
13<pause>
14TA1 - rtems_task_set_priority - get initial priority of self: 04
15TA1 - rtems_task_set_priority - set TA2's priority: 03
16TA2 - rtems_task_set_priority - set TA1's priority: 02
17TA1 - rtems_task_set_priority - set TA2's priority: 01
18TA2 - rtems_task_suspend - suspend TA1
19TA2 - rtems_task_set_priority - set priority of TA1 ( blocked )
20TA4 - exitting task
21RTEMS_TASK_EXITTED - extension invoked for TA4
22*** END OF TEST SP 7 ***
Note: See TracBrowser for help on using the repository browser.