Add new mju_threadpool API function, and delete old threading API.
PiperOrigin-RevId: 922838541 Change-Id: Id9f7e0fb298ffde61fcc49a802dc78971858ce51
This commit is contained in:
committed by
Copybara-Service
parent
a22fc2423a
commit
b935d4153c
@@ -98,17 +98,6 @@ _SKIPPED_WRITABLE_ERROR: tuple[str, ...] = (
|
||||
"mj_printSchema",
|
||||
)
|
||||
|
||||
# Omitted thread management functions
|
||||
_SKIPPED_THREAD_FUNCTIONS: tuple[str, ...] = (
|
||||
# go/keep-sorted start
|
||||
"mju_bindThreadPool",
|
||||
"mju_defaultTask",
|
||||
"mju_taskJoin",
|
||||
"mju_threadPoolCreate",
|
||||
"mju_threadPoolDestroy",
|
||||
"mju_threadPoolEnqueue",
|
||||
# go/keep-sorted end
|
||||
)
|
||||
|
||||
# Omitted asset cache functions
|
||||
_SKIPPED_ASSET_CACHE_FUNCTIONS: tuple[str, ...] = (
|
||||
@@ -207,7 +196,6 @@ _SKIPPED_UTILITY_FUNCTIONS: tuple[str, ...] = (
|
||||
# List of functions that should be skipped during the code generation process.
|
||||
SKIPPED_FUNCTIONS: tuple[str, ...] = (
|
||||
_SKIPPED_CLASS_METHODS
|
||||
+ _SKIPPED_THREAD_FUNCTIONS
|
||||
+ _SKIPPED_MEMORY_FUNCTIONS
|
||||
+ _SKIPPED_PLUGIN_FUNCTIONS
|
||||
+ _SKIPPED_GETTERS_AND_SETTERS
|
||||
@@ -223,8 +211,6 @@ SKIPPED_STRUCTS: tuple[str, ...] = (
|
||||
# go/keep-sorted start
|
||||
"mjCache",
|
||||
"mjSDF",
|
||||
"mjTask",
|
||||
"mjThreadPool",
|
||||
"mjUI",
|
||||
"mjVFS",
|
||||
"mjrContext",
|
||||
|
||||
Reference in New Issue
Block a user