mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-23 17:38:20 +01:00
60 lines
1.8 KiB
XML
60 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ThreadPool" inherits="Object" version="3.5">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="add_job">
|
|
<return type="void" />
|
|
<argument index="0" name="job" type="ThreadPoolJob" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="cancel_job">
|
|
<return type="void" />
|
|
<argument index="0" name="job" type="ThreadPoolJob" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="cancel_job_wait">
|
|
<return type="void" />
|
|
<argument index="0" name="job" type="ThreadPoolJob" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="has_job">
|
|
<return type="bool" />
|
|
<argument index="0" name="job" type="ThreadPoolJob" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="register_update">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="update">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="max_time_per_frame" type="float" setter="set_max_time_per_frame" getter="get_max_time_per_frame" default="0.00416667">
|
|
</member>
|
|
<member name="max_work_per_frame_percent" type="float" setter="set_max_work_per_frame_percent" getter="get_max_work_per_frame_percent" default="25.0">
|
|
</member>
|
|
<member name="thread_count" type="int" setter="set_thread_count" getter="get_thread_count" default="5">
|
|
</member>
|
|
<member name="thread_fallback_count" type="int" setter="set_thread_fallback_count" getter="get_thread_fallback_count" default="4">
|
|
</member>
|
|
<member name="use_threads" type="bool" setter="set_use_threads" getter="get_use_threads" default="true">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|