Ticket #228 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Inheritance of team activation to child threads

Reported by: stephan Owned by:
Priority: major Milestone: OTDT_1.2.8
Component: runtime-environment Version: 1.2.7
Keywords: Cc: soden@…

Description

If a team is activated for individual threads it would be great if newly spawned threads could inherit this activation. This should, of course, affect only those threads that are created from a thread for which the team is already active.

This is relevant in situations where one thread delegates a computation to a child thread, but conceptually both threads - parent and child - should be regarded as being the same context.

In order to support both variants - with and without inheritance of team activation - class Team should offer a boolean property inheritableActivation.

Change History

Changed 3 years ago by stephan

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to OTDT_1.2.8

Tests are in

Implementation is in r19771 and r19772.

Note: See TracTickets for help on using tickets.