Opened 4 years ago

Last modified 2 years ago

#899 new request

Scheduler::wait_for(int)

Reported by: Peter Owned by: Jari Häkkinen
Priority: major Milestone: yat 0.x+
Component: utility Version: trunk
Keywords: Cc:

Description

The function waits until either int seconds have passed or all jobs have completed.

Change History (1)

comment:1 Changed 2 years ago by Peter

In 3808:

Move the data member of the JobHandler? into its own data class,
JobHandlerData?, which is thread safe. This class is now owned by the
Scheduler and the JobHandler? has access via a pointer. This fixes #924
as the class is thread safe and since the sharing between Scheduler
and the JobHandler? class is now more complete also allow future
additions of the interface such as mentions in tickets:

refs #899, #910, #914 and #916.

Note: See TracTickets for help on using tickets.