Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ppoll.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 *
6 * Copyright (c) 2021, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#ifndef ROOT_ROOFIT_ZMQ_ppoll
14#define ROOT_ROOFIT_ZMQ_ppoll
15
16#include <zmq.hpp>
17#include <vector>
18
19namespace ZMQ {
20
21int ppoll(zmq_pollitem_t *items_, size_t nitems_, long timeout_, const sigset_t *sigmask_);
22int ppoll(std::vector<zmq_pollitem_t> &items, long timeout_, const sigset_t *sigmask_);
23class ppoll_error_t : public zmq::error_t {
24};
25
26} // namespace ZMQ
27
28#endif // ROOT_ROOFIT_ZMQ_ppoll
int ppoll(zmq_pollitem_t *items_, size_t nitems_, long timeout_, const sigset_t *sigmask_)
Wrapper around zmq_ppoll This function can throw, so wrap in try-catch!
Definition ppoll.cpp:19