/usr/include/wvstreams/wvsubprocqueuestream.h is in libwvstreams-dev 4.6.1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*/
#ifndef __WVSUBPROCQUEUESTREAM_H
#define __WVSUBPROCQUEUESTREAM_H
#include "wvsubprocqueue.h"
#include "wvlog.h"
/**
* A variant of WvSubProcQueue that can be added to a WvStreamList so that
* WvSubProcQueue::go() gets called automatically at a reasonable interval.
*/
class WvSubProcQueueStream : public WvStream, public WvSubProcQueue
{
public:
WvSubProcQueueStream(int _maxrunning);
virtual ~WvSubProcQueueStream();
virtual void execute();
private:
WvLog log;
public:
const char *wstype() const { return "WvSubProcQueueStream"; }
};
#endif // __WVSUBPROCQUEUESTREAM_H
|