Add maxuse_threadstack to mjData
PiperOrigin-RevId: 567334177 Change-Id: Ifd772350042e548a63ab269fd68fb5e5fef55831
This commit is contained in:
committed by
Copybara-Service
parent
be75dda8d1
commit
4f34cacf35
+46
-38
@@ -3324,6 +3324,42 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjThreadPool',
|
||||
StructDecl(
|
||||
name='mjThreadPool',
|
||||
declname='struct mjThreadPool_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='nworker',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of workers in the pool',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjTask',
|
||||
StructDecl(
|
||||
name='mjTask',
|
||||
declname='struct mjTask_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='func',
|
||||
type=ValueType(name='mjfTask'),
|
||||
doc='pointer to the function that implements the task',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='args',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='void'),
|
||||
),
|
||||
doc='arguments to func',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='status',
|
||||
type=ValueType(name='int', is_volatile=True),
|
||||
doc='status of the task',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjContact',
|
||||
StructDecl(
|
||||
name='mjContact',
|
||||
@@ -3541,12 +3577,20 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
StructFieldDecl(
|
||||
name='maxuse_stack',
|
||||
type=ValueType(name='size_t'),
|
||||
doc='maximum stack allocation',
|
||||
doc='maximum stack allocation in bytes',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='maxuse_threadstack',
|
||||
type=ArrayType(
|
||||
inner_type=ValueType(name='size_t'),
|
||||
extents=(128,),
|
||||
),
|
||||
doc='maximum stack allocation per thread in bytes',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='maxuse_arena',
|
||||
type=ValueType(name='size_t'),
|
||||
doc='maximum arena allocation',
|
||||
doc='maximum arena allocation in bytes',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='maxuse_con',
|
||||
@@ -7020,42 +7064,6 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjThreadPool',
|
||||
StructDecl(
|
||||
name='mjThreadPool',
|
||||
declname='struct mjThreadPool_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='nworker',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of workers in the pool',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjTask',
|
||||
StructDecl(
|
||||
name='mjTask',
|
||||
declname='struct mjTask_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='func',
|
||||
type=ValueType(name='mjfTask'),
|
||||
doc='pointer to the function that implements the task',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='args',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='void'),
|
||||
),
|
||||
doc='arguments to func',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='status',
|
||||
type=ValueType(name='int', is_volatile=True),
|
||||
doc='status of the task',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjuiState',
|
||||
StructDecl(
|
||||
name='mjuiState',
|
||||
|
||||
Reference in New Issue
Block a user