ProcUISetCallbackStackSize

Syntax

#include <cafe/procui.h>

void ProcUISetCallbackStackSize(u32 size);

Parameters

size The new size for the call stack.

Return Values

None.

Description

When initialized, ProcUI issues a callback thread on each of the cores. These threads are responsible for calling the callback functions set by the user. They have a priority of 16, and a default stack size of 8×1024. You may use ProcUISetCallbackStackSize to change the size of the stack used by the threads that call the callbacks. This immediately recreates the threads if needed.

NOTE:
ProcUISetCallbackStackSize must not be called after ProcUICalcMemorySize. If ProcUICalcMemorySize and ProcUISetMemoryPool are never called, ProcUISetCallbackStackSize may be called before or after ProcUIInit.

Do Not Call From

Multiple threads This function is not thread-safe.
Callbacks Do not call this function from any callback function.

See Also

ProcUIInit
ProcUISetMemoryPool

Revision History

2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.


CONFIDENTIAL