OK to these patches. I like this consolidation very nice.
On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
wrote:
> Use thread post-switch actions instead.
> ---
> cpukit/score/include/rtems/score/apiext.h | 64
> -
> cpukit/score/src/apiext.c | 1
On 2014-03-25 16:36, Gedare Bloom wrote:
On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
wrote:
Thread actions are the building block for efficient implementation of
- Classic signals delivery,
- POSIX signals delivery,
- thread restart notification,
- thread delete notification,
On Tue, Mar 25, 2014 at 11:36 AM, Gedare Bloom wrote:
> On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
> wrote:
>> Thread actions are the building block for efficient implementation of
>> - Classic signals delivery,
>> - POSIX signals delivery,
>> - thread restart notification,
>> - thr
On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
wrote:
> Thread actions are the building block for efficient implementation of
> - Classic signals delivery,
> - POSIX signals delivery,
> - thread restart notification,
> - thread delete notification,
> - forced thread migration on SMP co
Hello,
before we release RTEMS 4.11 we should add the next release to the Bugzilla and
move the target milestone of all open bugs to this release if we don't want to
fix them for RTEMS 4.11.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone :
Ok
On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
wrote:
> Avoid NULL pointer access.
> ---
> cpukit/score/src/threadqextractwithproxy.c | 37 ++-
> 1 files changed, 19 insertions(+), 18 deletions(-)
>
> diff --git a/cpukit/score/src/threadqextractwithproxy.c
> b/cpu
Ok
On Tue, Mar 25, 2014 at 8:49 AM, Sebastian Huber
wrote:
> ---
> cpukit/libmisc/cpuuse/cpuusagereport.c |4 ++-
> .../score/include/rtems/score/schedulersmpimpl.h |6 ++--
> cpukit/score/include/rtems/score/threadimpl.h | 28
> +++-
> cpukit/score/
The thread restart is now supported on SMP. New test
smptests/smpthreadlife01.
---
cpukit/rtems/src/taskrestart.c | 10 +--
cpukit/score/include/rtems/score/objectimpl.h | 17 ---
cpukit/score/include/rtems/score/thread.h |5 +
cpukit/score/include/rtems/
Replace _Thread_Reset() with _Thread_Start_life_change(). This function
can be later used for the _Thread_Close() implementation.
---
cpukit/score/src/threadrestart.c | 41 -
1 files changed, 18 insertions(+), 23 deletions(-)
diff --git a/cpukit/score/src/th
The executing thread will be later used for a common implementation with
_Thread_Close().
---
cpukit/rtems/src/taskrestart.c|2 +-
cpukit/score/include/rtems/score/threadimpl.h | 10 +-
cpukit/score/src/threadrestart.c | 11 +--
3 files changed,
Move thread entry parameters out of _Thread_Reset() to enable
re-usablity of this function.
---
cpukit/score/src/threadrestart.c | 26 +++---
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
in
Thread actions are the building block for efficient implementation of
- Classic signals delivery,
- POSIX signals delivery,
- thread restart notification,
- thread delete notification,
- forced thread migration on SMP configurations, and
- the Multiprocessor Resource Sharing Protocol (M
The thread deletion is now supported on SMP.
This change fixes the following PRs:
PR1814: SMP race condition between stack free and dispatch
PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract()
The POSIX cleanup handler are now called in the right context (should be
called i
It is no longer necessary to protect the workspace allocations with the
Giant lock due to the thread life cycle re-implementation.
---
cpukit/posix/src/pthread.c|2 +-
cpukit/score/src/apimutexlock.c |4
cpukit/score/src/apimutexunlock.c |5 +
3 files changed, 6 inse
Use thread post-switch actions instead.
---
cpukit/score/include/rtems/score/apiext.h | 64 -
cpukit/score/src/apiext.c | 11 -
cpukit/score/src/threaddispatch.c |1 -
3 files changed, 0 insertions(+), 76 deletions(-)
diff --git a/cp
Avoid NULL pointer access.
---
cpukit/score/src/threadqextractwithproxy.c | 37 ++-
1 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/cpukit/score/src/threadqextractwithproxy.c
b/cpukit/score/src/threadqextractwithproxy.c
index a0bf5b3..f1c1949 100644
---
---
cpukit/posix/include/rtems/posix/psignalimpl.h | 12 ++--
cpukit/posix/include/rtems/posix/threadsup.h |5 +
cpukit/posix/src/killinfo.c|2 --
cpukit/posix/src/psignal.c | 23 ++-
cpukit/posix/src/psignalunbl
Run the thread restart extensions in the context of the restarted
thread. Run them with thread dispatching enabled.
---
cpukit/posix/src/pthread.c | 11 +++-
cpukit/score/include/rtems/score/userext.h |9 ++-
cpukit/score/src/threadrestart.c |4 +-
testsuites/p
---
cpukit/score/include/rtems/score/schedulerimpl.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h
b/cpukit/score/include/rtems/score/schedulerimpl.h
index 7fbaf54..1cc478b 100644
--- a/cpukit/score/include/rtems/s
The primary objective of this change set is support for thread restart and
delete on SMP configurations. It enables also forced thread migration.
For background information please have a look at:
http://www.rtems.org/wiki/index.php?title=SMP#Thread_Restart
http://www.rtems.org/wiki/index.php?ti
---
cpukit/rtems/include/rtems/rtems/signalimpl.h |8
cpukit/rtems/include/rtems/rtems/tasks.h |6 ++
cpukit/rtems/src/signalcatch.c| 20 +++-
cpukit/rtems/src/signalsend.c |4
cpukit/rtems/src/taskmode.c
---
cpukit/score/Makefile.am |2 +-
cpukit/score/include/rtems/score/threadimpl.h | 17 -
cpukit/score/src/threadreset.c| 49 -
cpukit/score/src/threadrestart.c | 28 ++
4 files changed, 29 inse
This prevents that asynchronous thread deletion can lead to an unusable
allocator or once mutex.
---
.../arm/altera-cyclone-v/startup/nocache-heap.c| 10 ++--
c/src/lib/libbsp/shared/src/irq-generic.c | 47 ++---
cpukit/libcsupport/src/malloc_get_statistics.c |
---
cpukit/libmisc/cpuuse/cpuusagereport.c |4 ++-
.../score/include/rtems/score/schedulersmpimpl.h |6 ++--
cpukit/score/include/rtems/score/threadimpl.h | 28 +++-
cpukit/score/src/schedulersmpstartidle.c |2 +-
cpukit/score/src/threadin
On Tue, Mar 25, 2014 at 3:20 AM, Sebastian Huber
wrote:
> On 2014-03-24 19:39, Jennifer wrote:
>>
>> @@ -184,6 +205,43 @@ void _Scheduler_default_Start_idle(
>> Per_CPU_Control *processor
>> );
>>
>> +#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) && defined(RTEMS_SMP)
>> +
>> + /**
>> + * @bri
On 2014-03-24 19:26, Joel Sherrill wrote:
Hi
Looks like the TLS pointer is NULL and when _Thread_Close
eventually calls _Object_Free, it appears to trip the fault.
I am done for the night. :)
Sorry, this commit is the problem:
http://git.rtems.org/rtems/commit/?id=2a713e3b944625c45154f0ea7f
On 25/03/2014 5:16 pm, Joel Sherrill wrote:
On 3/24/2014 11:29 PM, Chris Johns wrote:
On 25/03/2014 4:41 am, Joel Sherrill wrote:
On 3/24/2014 12:36 PM, Sebastian Huber wrote:
On 03/24/2014 06:14 PM, Joel Sherrill wrote:
Hi
My most recently built toolset seems to be using pthreads instead
o
On 2014-03-24 19:39, Jennifer wrote:
@@ -184,6 +205,43 @@ void _Scheduler_default_Start_idle(
Per_CPU_Control *processor
);
+#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) && defined(RTEMS_SMP)
+
+ /**
+ * @brief Get affinity for the default scheduler.
+ *
+ * @param[in] thread The associ
28 matches
Mail list logo