Changeset 9f81109 in rtems-libbsd


Ignore:
Timestamp:
Jan 18, 2016, 11:17:46 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
96bf77b
Parents:
c2864c2
git-author:
Sebastian Huber <sebastian.huber@…> (01/18/16 11:17:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/18/16 11:18:30)
Message:

Update due to chain API changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/rtems/rtems-bsd-thread.c

    rc2864c2 r9f81109  
    220220                rtems_status_code sc;
    221221
    222                 sc = rtems_task_start(thread->Object.id, (rtems_task_entry)
    223                     thread->Start.entry_point, thread->Start.numeric_argument);
     222                sc = rtems_task_start(thread->Object.id,
     223                    thread->Start.Entry.Kinds.Numeric.entry,
     224                    thread->Start.Entry.Kinds.Numeric.argument);
    224225                BSD_ASSERT(sc == RTEMS_SUCCESSFUL);
    225226        }
     
    272273                        BSD_ASSERT(sc == RTEMS_SUCCESSFUL);
    273274                } else {
    274                         thread->Start.entry_point = (Thread_Entry) func;
    275                         thread->Start.numeric_argument =
    276                             (Thread_Entry_numeric_type) arg;
     275                        thread->Start.Entry.Kinds.Numeric.entry =
     276                            (void (*)(Thread_Entry_numeric_type))func;
     277                        thread->Start.Entry.Kinds.Numeric.argument =
     278                            (Thread_Entry_numeric_type)arg;
    277279                        _Chain_Append_unprotected(
    278280                            &rtems_bsd_thread_delay_start_chain,
Note: See TracChangeset for help on using the changeset viewer.