23 lines
438 B
C
23 lines
438 B
C
|
#ifndef _later_later_api_h
|
||
|
#define _later_later_api_h
|
||
|
|
||
|
#include "later.h"
|
||
|
|
||
|
namespace {
|
||
|
|
||
|
class LaterInitializer {
|
||
|
public:
|
||
|
LaterInitializer() {
|
||
|
// See comment in execLaterNative to learn why we need to do this
|
||
|
// in a statically initialized object
|
||
|
later::later(NULL, NULL, 0);
|
||
|
later::later_fd(NULL, NULL, 0, NULL, 0);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
static LaterInitializer init;
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif // _later_later_api_h
|