Functions

The Cheap Threads public interface provides thirty-three functions, as listed below in alphabetical order. All are prototyped in the ct.h header file, which also includes several macros and typedefs described elsewhere.

ct_broadcast_enq

ct_broadcast_msg

ct_clear

ct_create_sleeping_thread

ct_create_thread

ct_dequeue_msg

ct_discard_msg

ct_distribute_enq

ct_distribute_msg

ct_enqueue

ct_exit

ct_fatal_error

ct_halt

ct_install_clock

ct_install_error_reporter

ct_install_post_function

ct_install_pre_function

ct_penalize

ct_query_msg

ct_return

ct_report_error

ct_same_thread

ct_schedule

ct_self

ct_self_data

ct_send_msg

ct_set_countdown

ct_subscribe

ct_timecmp

ct_unsubscribe

ct_unsubscribe_all

ct_valid_handle

ct_wait

ct_wait_on_timeout


Home