summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems/rtems/tasks.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-22Remove, moved to cpukit.Ralf Corsepius1-467/+0
2000-01-23Directive rtems_task_variable_get() added by Eric Norum.Joel Sherrill1-0/+12
2000-01-21Patch from Eric Norum <eric@cls.usask.ca> to implement this:Joel Sherrill1-2/+3
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-15/+0
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-5/+9
it is now typedef'ed.
1999-11-12Used typedef so all "struct rtems_task_variable_t" uses are nowJoel Sherrill1-7/+7
just "rtems_task_variable_t".
1999-11-12Added per-task variable data stucture (rtems_task_variable_t),Joel Sherrill1-4/+36
task_variables field to API extension, and two directives (rtems_task_variable_add and rtems_task_variable_delete).
1999-10-20Added prototype for rtems_task_is_suspended at request ofJoel Sherrill1-1/+12
Eric Norum.
1998-11-23Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1-0/+2
it work.
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1996-05-28split the inclusion of "EXTERN" data based on whether it was sapi,Joel Sherrill1-3/+4
score, rtems api, or posix api related.
1996-05-28added initial posix configuration supportJoel Sherrill1-0/+1
1996-03-06Removed prototyes for static inline routines and moved the comments intoJoel Sherrill1-47/+2
the inline implementation. The impetus for this was twofold. First, it is incorrect to have static inline prototypes when using the macro implementation. Second, this reduced the number of lines in the include files seen by rtems.h by about 2000 lines. Next we restricted visibility for the inline routines to inside the executive itself EXCEPT for a handful of objects. This reduced the number of include files included by rtems.h by 40 files and reduced the lines in the include files seen by rtems.h by about 6000 lines. In total, these reduced the compile time of the entire RTEMS tree by 20%. This results in about 8 minutes savings on the SparcStation 10 morgana.
1995-09-26posix support initially addedJoel Sherrill1-3/+3
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-27/+143
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-28Added unused priority ceiling parameter to rtems_semaphore_create.Joel Sherrill1-7/+20
Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core.
1995-08-23Moved _Thread_Information -> _RTEMS_tasks_Information.Joel Sherrill1-0/+19
Added a table of object information control blocks. Modified _Thread_Get so it looks up a thread regardless of which thread management "entity" (manager, internal, etc) actually "owns" it.
1995-08-23Support for variable length names added to Object Handler. This supportsJoel Sherrill1-2/+3
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.