|
a/src/common/rclinit.h |
|
b/src/common/rclinit.h |
|
... |
|
... |
48 |
string &reason, const string *argcnf = 0);
|
48 |
string &reason, const string *argcnf = 0);
|
49 |
inline RclConfig *recollinit(void (*cleanup)(void), void (*sigcleanup)(int),
|
49 |
inline RclConfig *recollinit(void (*cleanup)(void), void (*sigcleanup)(int),
|
50 |
string &reason, const string *argcnf = 0) {
|
50 |
string &reason, const string *argcnf = 0) {
|
51 |
return recollinit(RCLINIT_NONE, cleanup, sigcleanup, reason, argcnf);
|
51 |
return recollinit(RCLINIT_NONE, cleanup, sigcleanup, reason, argcnf);
|
52 |
}
|
52 |
}
|
53 |
// Threads need to call this. The main thread handles all signals.
|
53 |
|
|
|
54 |
// Threads need to call this to block signals.
|
|
|
55 |
// The main thread handles all signals.
|
54 |
extern void recoll_threadinit();
|
56 |
extern void recoll_threadinit();
|
55 |
|
57 |
|
56 |
#endif /* _RCLINIT_H_INCLUDED_ */
|
58 |
#endif /* _RCLINIT_H_INCLUDED_ */
|