#2087 assigned enhancement

Merge some samples from Livermore pthread Examples

Reported by: Christopher Kerl Owned by: Joel Sherrill
Priority: highest Milestone: Indefinite
Component: unspecified Version:
Severity: minor Keywords:
Cc: gedare@… Blocked By:
Blocking:

Description (last modified by Gedare)

This is a new sample that I've adapted from the Lawrence Livermore POSIX Pthreads tutorial: https://computing.llnl.gov/tutorials/pthreads/
This is the first in a planned series of examples for RTEMS POSIX development. This one shows how to create/join/end pthreads.
Please tell if you have any comments/suggestions.
~Christopher Kerl

Attachments (2)

pthread.tar.gz (7.1 KB) - added by Christopher Kerl on Feb 1, 2013 at 8:33:16 PM.
The sample folder.
0001-Add-pthread-example.patch (6.7 KB) - added by Sal on Dec 9, 2018 at 4:18:18 PM.
Patch to add the example to the examples-v2 repository

Download all attachments as: .zip

Change History (17)

Changed on Feb 1, 2013 at 8:33:16 PM by Christopher Kerl

Attachment: pthread.tar.gz added

The sample folder.

comment:1 Changed on Feb 1, 2013 at 9:03:39 PM by Gedare

Cc: Gedare added

comment:2 Changed on Feb 2, 2013 at 12:48:16 AM by Christopher Kerl

Sorry that I did not do it right. I'm still learning about this patch system.

comment:3 Changed on Apr 11, 2014 at 7:29:10 PM by Gedare

Milestone: 4.114.12

comment:4 Changed on Nov 20, 2014 at 3:31:07 AM by Chris Johns

Milestone: 4.124.11

comment:5 Changed on Nov 24, 2014 at 6:34:44 PM by Joel Sherrill

Description: modified (diff)
Summary: [NEW SAMPLE]: Pthread 1Livermore Pthread Examples Ported to RTEMS

comment:6 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

comment:7 Changed on Dec 19, 2014 at 5:06:18 AM by Gedare

Priority: normalhighest

Bump priority to highest for tickets with a fix attached or seemingly simple fix proposed in the description or comments.

comment:8 Changed on Feb 19, 2015 at 9:39:43 PM by Gedare

Description: modified (diff)
Milestone: 4.115.0

I think we should consider putting these into a separate repository or into examples-v2. Bumping milestone.

comment:9 Changed on Feb 19, 2015 at 9:46:21 PM by Joel Sherrill

It should be in examples. I think Jennifer and I looked at merging this and there was some work to do. May have just been putting it in examples.

comment:10 Changed on Aug 13, 2017 at 11:43:00 PM by Chris Johns

Milestone: 5.0Indefinite
Owner: changed from Jennifer Averett to Joel Sherrill
Status: newassigned
Version: 4.11

Is this will valid?

comment:11 Changed on Oct 10, 2017 at 6:46:55 AM by Sebastian Huber

Component: testingunspecified

comment:12 Changed on Dec 9, 2018 at 9:10:15 AM by Sal

I think that this is not valid anymore because the example uses the coverhd.h header which was removed in RTEMS 5 (see https://git.rtems.org/rtems/commit/?id=e58e29fdb9dc1ba516691d9df373b2bdaa480f51).

comment:13 in reply to:  12 Changed on Dec 9, 2018 at 4:17:24 PM by Sal

Replying to Sal:

I think that this is not valid anymore because the example uses the coverhd.h header which was removed in RTEMS 5 (see https://git.rtems.org/rtems/commit/?id=e58e29fdb9dc1ba516691d9df373b2bdaa480f51).

I found that actually the coverhd.h header is not necessary, so I've been able to make the attached patch which adds the example in the examples-v2 repository and works as expected.

Changed on Dec 9, 2018 at 4:18:18 PM by Sal

Patch to add the example to the examples-v2 repository

comment:14 Changed on Dec 9, 2018 at 5:05:29 PM by Joel Sherrill

Summary: [NEW SAMPLE]: Pthread 1Merge some samples from Livermore pthread Examples

comment:15 Changed on Dec 9, 2018 at 5:09:52 PM by Joel Sherrill

Cc: joel.sherrill@… removed
Note: See TracTickets for help on using tickets.