libxtc 0.4.0
Async concurrency for C: Tokio + Seastar + BEAM, in one library
Loading...
Searching...
No Matches
ptc_ext.h
1/* DO NOT EDIT: automatically built by dist/s_include. */
2/* See M0_CLAIMS.md [T2]. */
3
4#ifndef PTC_EXT_H
5#define PTC_EXT_H
6
7int xtc_proc_set_class __P((xtc_exec_class_t));
8int xtc_proc_set_userdata __P((void *));
9int xtc_cfg_get_string_copy __P((const char *, char **));
10int xtc_cfg_load_file __P((const char *));
11int xtc_cfg_reload __P((void));
12int xtc_dispatch __P((xtc_loop_t *, int (*)(void *), void *, xtc_future_t **, xtc_dispatch_handle_t **));
13int xtc_dispatch_cancel __P((xtc_dispatch_handle_t *));
14int __xtc_exit_self_kind __P((int, int));
15int __xtc_preempt_pc_ok __P((uintptr_t));
16int __xtc_proc_crit_depth __P((void));
17int __xtc_unsafe_depth __P((void));
18int xtc_aio_fdatasync __P((int));
19int xtc_aio_fsync __P((int));
20int xtc_aio_pread __P((int, void *, uint32_t, int64_t));
21int xtc_aio_preadv __P((int, const struct iovec *, int, int64_t));
22int xtc_aio_pwrite __P((int, const void *, uint32_t, int64_t));
23int xtc_aio_pwritev __P((int, const struct iovec *, int, int64_t));
24int xtc_alloc_audit_enable __P((int));
25int xtc_batch_cancel __P((xtc_batch_t *, uint64_t));
26int xtc_batch_cancel_mt __P((xtc_batch_t *, uint64_t));
27int xtc_batch_close __P((xtc_batch_t *, enum xtc_batch_close_mode));
28int xtc_batch_create __P((xtc_loop_t *, const xtc_batch_opts_t *, xtc_batch_t **));
29int xtc_batch_create_async __P((xtc_loop_t *, const xtc_batch_async_opts_t *, xtc_batch_t **));
30int xtc_batch_destroy __P((xtc_batch_t *));
31int xtc_batch_get_async_stats __P((xtc_batch_t *, xtc_batch_async_stats_t *));
32int xtc_batch_get_stats __P((xtc_batch_t *, xtc_batch_stats_t *));
33int xtc_batch_loop_for_device __P((xtc_exec_t *, const xtc_accel_dev_t *, int *));
34int xtc_batch_resume __P((xtc_batch_t *, uint64_t));
35int xtc_batch_resume_mt __P((xtc_batch_t *, uint64_t));
36int xtc_batch_router_create __P((xtc_batch_t **, int, xtc_batch_router_t **));
37int xtc_batch_submit __P((xtc_batch_t *, void *, uint64_t, uint64_t *));
38int xtc_batch_submit_mt __P((xtc_batch_t *, void *, uint64_t, uint64_t *));
39int xtc_blocking_run_off_loop __P((int (*)(void *), void *, int *));
40int xtc_blocking_submit __P((int (*)(void *), void *));
41int xtc_bracket __P((int (*)(void **, void *), int (*)(void *, void *), void (*)(void *, void *), void *));
42int xtc_cancel_poll __P((int (*)(void *), void *));
43int xtc_cancel_requested __P((void));
44int xtc_crash_handler_install __P((void));
45int xtc_down_decode __P((const void *, size_t, xtc_pid_t *, int *));
46int xtc_down_decode_ex __P((const void *, size_t, xtc_down_info_t *));
47int xtc_exit_pid __P((xtc_pid_t, int));
48int xtc_exit_pid_deadline __P((xtc_pid_t, int, int64_t, int *));
49int xtc_exit_self __P((int));
50int xtc_fault_guard_install __P((void));
51int xtc_inject_check __P((const char *));
52int xtc_link __P((xtc_pid_t));
53int xtc_mask_enter __P((void));
54int xtc_mask_leave __P((void));
55int xtc_monitor __P((xtc_pid_t, uint64_t *));
56int xtc_preempt_arm __P((int64_t));
57int xtc_preempt_disarm __P((void));
58int xtc_preempt_involuntary_supported __P((void));
59int xtc_preempt_region_add __P((const void *, const void *));
60int xtc_preempt_set_involuntary __P((int));
61int xtc_preempt_supported __P((void));
62int xtc_preempt_tick_pending __P((void));
63int xtc_proc_at_exit __P((void (*)(void *), void *));
64int xtc_proc_mailbox_stats __P((xtc_pid_t, xtc_mailbox_stats_t *));
65int xtc_proc_recovery_track __P((void (*)(void *), void *));
66int xtc_proc_recovery_track_fd __P((int));
67int xtc_proc_recovery_track_locks __P((void *, uint64_t, void (*)(void *, uint64_t)));
68int xtc_proc_recovery_track_mctx __P((struct xtc_mctx *));
69int xtc_proc_recovery_untrack_fd __P((int));
70int xtc_proc_sleep __P((int64_t));
71int xtc_proc_spawn __P((xtc_loop_t *, xtc_proc_fn, void *, const xtc_proc_opts_t *, xtc_pid_t *));
72int xtc_proc_spawn_link __P((xtc_loop_t *, xtc_proc_fn, void *, const xtc_proc_opts_t *, xtc_pid_t *));
73int xtc_proc_spawn_monitor __P((xtc_loop_t *, xtc_proc_fn, void *, const xtc_proc_opts_t *, xtc_pid_t *, uint64_t *));
74int xtc_proc_trap_exit __P((int));
75int xtc_proc_wait_fd __P((int, uint32_t, int64_t, uint32_t *));
76int xtc_proc_wake __P((xtc_pid_t));
77int xtc_recv __P((void **, size_t *, int64_t));
78int xtc_recv_correlate __P((const void *, size_t, int, xtc_msg_t *, int *, int64_t));
79int xtc_recv_match __P((xtc_match_fn, void *, void **, size_t *, int64_t));
80int xtc_res_acquire __P((xtc_res_t *, xtc_res_kind_t, int64_t));
81int xtc_res_init __P((xtc_res_t *, const xtc_res_caps_t *));
82int xtc_res_set_alert __P((xtc_res_t *, xtc_res_kind_t, double));
83int xtc_res_set_alert_fn __P((xtc_res_t *, void (*)(xtc_res_kind_t, int64_t, int64_t, void *), void *));
84int xtc_scope_defer __P((xtc_scope_t *, xtc_finalizer_fn, void *));
85int xtc_send __P((xtc_pid_t, const void *, size_t));
86int xtc_send_owned __P((xtc_pid_t, void *, size_t));
87int xtc_tail_dump_dial9 __P((int));
88int xtc_tail_spill_dial9 __P((const char *));
89int xtc_trace_causal_dump __P((xtc_pid_t, xtc_causal_fn, void *));
90int xtc_trace_causal_enable __P((int));
91int xtc_uncancelable __P((int (*)(void *), void *));
92int xtc_unlink __P((xtc_pid_t));
93int64_t xtc_res_high __P((const xtc_res_t *, xtc_res_kind_t));
94int64_t xtc_res_rejects __P((const xtc_res_t *, xtc_res_kind_t));
95int64_t xtc_res_used __P((const xtc_res_t *, xtc_res_kind_t));
96long xtc_lwlock_track_violations __P((void));
97struct xtc_mctx *xtc_proc_mctx __P((void));
98uint64_t xtc_preempt_ticks __P((void));
99uint64_t xtc_tail_dropped __P((void));
100unsigned xtc_tail_from_env __P((void));
101void __xtc_proc_ctx_restore __P((void *));
102void *__xtc_proc_ctx_save __P((void));
103void *xtc_proc_userdata __P((void));
104void __xtc_unsafe_enter __P((void));
105void __xtc_unsafe_leave __P((void));
106void xtc_alloc_audit_proc_leaks __P((xtc_pid_t, size_t *, size_t *));
107void xtc_alloc_audit_stats __P((size_t *, size_t *));
108void xtc_atomic_pid_store __P((xtc_atomic_pid_t *, xtc_pid_t));
109void xtc_batch_router_destroy __P((xtc_batch_router_t *));
110void xtc_dispatch_handle_free __P((xtc_dispatch_handle_t *));
111void xtc_dump __P((int));
112void xtc_lwlock_track_enable __P((int));
113void xtc_lwlock_track_reset __P((void));
114void xtc_lwlock_track_set_handler __P((xtc_lwlock_track_fn, void *));
115void xtc_panic __P((const char *, int, const char *, ...));
116void xtc_proc_critical_enter __P((void));
117void xtc_proc_critical_leave __P((void));
118void xtc_proc_recovery_cleanup __P((void));
119void xtc_proc_recovery_disarm __P((void));
120void xtc_res_release __P((xtc_res_t *, xtc_res_kind_t, int64_t));
121void xtc_res_set_cap __P((xtc_res_t *, xtc_res_kind_t, int64_t));
122void xtc_scope_close __P((xtc_scope_t *));
123void xtc_tuning_check __P((void));
124xtc_batch_t *xtc_batch_route __P((xtc_batch_router_t *, uint64_t));
125xtc_pid_t xtc_atomic_pid_load __P((const xtc_atomic_pid_t *));
126xtc_pid_t xtc_self __P((void));
127xtc_scope_t *xtc_scope_open __P((void));
128
129#endif /* PTC_EXT_H */