/usr/include/urg/Thread.h is in liburg0-dev 0.8.12-1ubuntu1.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | #ifndef QRK_THREAD_H
#define QRK_THREAD_H
/*!
\file
\brief �X���b�h�����̃��b�p�[
\author Satofumi KAMIMURA
$Id: Thread.h 914 2009-05-20 22:16:35Z satofumi $
*/
#include <memory>
namespace qrk
{
/*!
\brief �X���b�h����
*/
class Thread
{
Thread(void);
Thread(const Thread& rhs);
Thread& operator = (const Thread& rhs);
struct pImpl;
const std::auto_ptr<pImpl> pimpl;
public:
enum {
Infinity = -1,
};
/*!
\brief �R���X�g���N�^
\param[in,out] fn ���|�C���^
\param[in,out] args �X���b�h���ւ̈���
*/
explicit Thread(int (*fn)(void *), void* args);
~Thread(void);
/*!
\brief �������w�肵�ăX���b�h���N��
\param[in] times ������
*/
void run(int times = 1);
/*!
\brief �X���b�h���~
*/
void stop(void);
/*!
\brief �X���b�h�̏I����҂�
\return �X���b�h�̖߂�l
*/
int wait(void);
/*!
\brief �X���b�h�����쒆����Ԃ�
\retval true ���쒆
\retval false ��~��
*/
bool isRunning(void) const;
};
}
#endif /* !QRK_THREAD_H */
|