Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * PB, Patrick Bos, Netherlands eScience Center, p.bos@esciencecenter.nl
5 * IP, Inti Pelupessy, Netherlands eScience Center, i.pelupessy@esciencecenter.nl
6 *
7 * Copyright (c) 2021, CERN
8 *
9 * Redistribution and use in source and binary forms,
10 * with or without modification, are permitted according to the terms
11 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
12 */
13
14#ifndef ROOT_ROOFIT_MultiProcess_util
15#define ROOT_ROOFIT_MultiProcess_util
16
17#include "RooFit/MultiProcess/Channel.h" // ppoll_error_t
19
20#include <tuple>
21#include <unistd.h> // getpid, pid_t
22#include <vector>
23
24namespace RooFit {
25namespace MultiProcess {
26
28
29std::tuple<std::vector<std::size_t>, bool> careful_poll(Poller &poller);
30
31} // namespace MultiProcess
32} // namespace RooFit
33#endif // ROOT_ROOFIT_MultiProcess_util
int wait_for_child(pid_t child_pid, bool may_throw, int retries_before_killing)
Definition util.cxx:26
std::tuple< std::vector< std::size_t >, bool > careful_poll(Poller &poller)
Definition util.cxx:66
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition CodegenImpl.h:73