forked from Imagelibrary/rtems
2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1259/rtems * rtems/src/taskcreate.c: Initialize is_global in all cases since memory is not guaranteed to be zero.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
PR 1259/rtems
|
||||||
|
* rtems/src/taskcreate.c: Initialize is_global in all cases since
|
||||||
|
memory is not guaranteed to be zero.
|
||||||
|
|
||||||
2007-09-12 Sergei Organov <osv@javad.com>
|
2007-09-12 Sergei Organov <osv@javad.com>
|
||||||
|
|
||||||
PR 1258/rtems
|
PR 1258/rtems
|
||||||
|
|||||||
@@ -205,10 +205,9 @@ rtems_status_code rtems_task_create(
|
|||||||
*id = the_thread->Object.id;
|
*id = the_thread->Object.id;
|
||||||
|
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
|
the_thread->is_global = is_global;
|
||||||
if ( is_global ) {
|
if ( is_global ) {
|
||||||
|
|
||||||
the_thread->is_global = TRUE;
|
|
||||||
|
|
||||||
_Objects_MP_Open(
|
_Objects_MP_Open(
|
||||||
&_RTEMS_tasks_Information,
|
&_RTEMS_tasks_Information,
|
||||||
the_global_object,
|
the_global_object,
|
||||||
|
|||||||
Reference in New Issue
Block a user