#3188 closed enhancement (fixed)

Add C11 Threading Examples

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 5.1
Component: unspecified Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

C11 is new and we need to provide examples.

Change History (4)

comment:1 Changed on Oct 12, 2017 at 7:21:40 PM by Joel Sherrill

Owner: set to Joel Sherrill
Status: newassigned

comment:2 Changed on Oct 12, 2017 at 7:22:36 PM by Joel Sherrill

Add c11 directory to examples-v2 which contains a set of examples for using the entire C11 <threads.h> API.

c11_thread01 - multiple threads, arguments, yield, sleep
c11_mutex01 - mutual exclusion, blocking, timeout
c11_cndvar01 - use condition variable to signal data arrival
c11_key01 - per thread storage

comment:3 Changed on Oct 12, 2017 at 7:23:27 PM by Joel Sherrill <joel@…>

Resolution: fixed
Status: assignedclosed

In 1963961/examples-v2:

Add examples for using the entire C11 <threads.h> API.

c11_thread01 - multiple threads, arguments, yield, sleep
c11_mutex01 - mutual exclusion, blocking, timeout
c11_cndvar01 - use condition variable to signal data arrival
c11_key01 - per thread storage

Closes #3188.

comment:4 Changed on Nov 9, 2017 at 6:27:14 AM by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

Note: See TracTickets for help on using tickets.