summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/taskvariableadd.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-22Remove, moved to cpukit.Ralf Corsepius1-85/+0
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-1/+1
2000-01-21Patch from Eric Norum <eric@cls.usask.ca> to implement this:Joel Sherrill1-2/+4
I'd like to propose a change to RTEMS task variables that I think would make them more useful. I think that it is early enough in their existence to still make changes to their API. 1) Change type from `int' to `void *'. 2) Add extra argument to task_variable_add -- if non-NULL, a pointer to a `destructor' function to be called when the task exits. This function would be called with that task's value of the task variable as its argument. In many cases, the `dtor' function could be `free'. rtems_status_code rtems_task_variable_add ( rtems_id tid, void **ptr, void (*dtor)(void *)); rtems_status_code rtems_task_variable_delete (rtems_id tid, void **ptr); This would be all we'd need to cleanly and efficiently support C++ per-thread exception information without dragging in all that POSIX API stuff.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1999-11-16Moved task_variable pointer to basic shared part of TCB instead ofJoel Sherrill1-5/+3
RTEMS API extension to avoid problems when the extension is freed. Eventually the task variable switch extension should become part of the core context switch and the Ada tcb self implemented in terms of it.
1999-11-12Corrected remaining references to struct rtems_task_variable_t sinceJoel Sherrill1-2/+2
it is now typedef'ed.
1999-11-12Used typedef so all "struct rtems_task_variable_t" uses are nowJoel Sherrill1-4/+4
just "rtems_task_variable_t".
1999-11-12Added per task variables based on patch from Eric Norum <eric@cls.usask.ca>.Joel Sherrill1-0/+86
After being submitted, this support was rewritten to be inside the executive rather than layered on top of it using an extension.