summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/objectimpl.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: PR2152: Use allocator mutex for objectsSebastian Huber2014-03-311-10/+137
| | | | | Use allocator mutex for objects allocate/free. This prevents that the thread dispatch latency depends on the workspace/heap fragmentation.
* score: Use thread action for thread restartSebastian Huber2014-03-311-17/+0
| | | | | The thread restart is now supported on SMP. New test smptests/smpthreadlife01.
* score: Set name before object is made publicSebastian Huber2014-03-241-10/+10
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Objects_Information::extract visibilitySebastian Huber2013-11-181-2/+2
| | | | This filed is only used if RTEMS_MULTIPROCESSING is defined.
* score: Per-CPU thread dispatch disable levelSebastian Huber2013-08-091-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a per-CPU thread dispatch disable level. So instead of one global thread dispatch disable level we have now one instance per processor. This is a major performance improvement for SMP. On non-SMP configurations this may simplifiy the interrupt entry/exit code. The giant lock is still present, but it is now decoupled from the thread dispatching in _Thread_Dispatch(), _Thread_Handler(), _Thread_Restart_self() and the interrupt entry/exit. Access to the giant lock is now available via _Giant_Acquire() and _Giant_Release(). The giant lock is still implicitly acquired via _Thread_Dispatch_decrement_disable_level(). The giant lock is only acquired for high-level operations in interrupt handlers (e.g. release of a semaphore, sending of an event). As a side-effect this change fixes the lost thread dispatch necessary indication bug in _Thread_Dispatch(). A per-CPU thread dispatch disable level greatly simplifies the SMP support for the interrupt entry/exit code since no spin locks have to be acquired in this area. It is only necessary to get the current processor index and use this to calculate the address of the own per-CPU control. This reduces the interrupt latency considerably. All elements for the interrupt entry/exit code are now part of the Per_CPU_Control structure: thread dispatch disable level, ISR nest level and thread dispatch necessary. Nothing else is required (except CPU port specific stuff like on SPARC).
* score: Move object content to public APISebastian Huber2013-07-281-23/+0
|
* score: Create object implementation headerSebastian Huber2013-07-261-0/+930
Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.