ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
tdkc_interrupt.h
Go to the documentation of this file.
1
/**
2
* @file tdkc_interrupt.h
3
* @brief Build-loop interrupt hook for the standalone @c tdkc binary.
4
*
5
* In the @c tdkc build, @c CHECK_FOR_INTERRUPTS() (called from the hot loops
6
* of the tree-decomposition and d-DNNF construction) resolves to
7
* @c provsql_tdkc_poll() instead of a no-op. When @c tdkc runs as a KCMCP
8
* server, the poll services the active connection mid-job: it answers
9
* @c PING with @c PONG, emits rate-limited @c PROGRESS frames, and throws to
10
* abort the build on @c CANCEL or a @c timeout_ms deadline. When no session
11
* is active (the plain command-line mode), it is a no-op.
12
*
13
* This header is only meaningful in the @c tdkc build; the PostgreSQL
14
* extension uses the real @c CHECK_FOR_INTERRUPTS.
15
*/
16
#ifndef PROVSQL_TDKC_INTERRUPT_H
17
#define PROVSQL_TDKC_INTERRUPT_H
18
19
void
provsql_tdkc_poll
();
20
21
#endif
provsql_tdkc_poll
void provsql_tdkc_poll()
Definition
kcmcp_server.cpp:342
Home
·
Documentation
·
Publications
·
Contributors
·
Source
·
Cite