Question about task stack allocation

Scott J scott.j at myrealbox.com
Wed Dec 17 04:04:27 UTC 2003


------ 'mikeci at acm.org' said the following on 2003-12-17 3:12 ------:

> Hi!
> 
> I would like to know if it is possible to allocate task stack at a
> specific memory address (fix allocation) instead in the workspace?
> 
> 
> Regards
> 
> 
> Ivica
> 
> 
> 
> 

Just read _Thread_Stack_Allocate(), I think maybe 'stack_allocate_hook' 
in 'CPU Table' could help. For example you can configure 
'stack_allocate_hook' as 'malloc' so task stacks always allocated in CRTL.




More information about the users mailing list