Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 42

more...

Support us!

Headlines

Report message:*
 

Re: Memory protection and tasks/processes

Subject: Re: Memory protection and tasks/processes
by billyfish on 2021/3/6 19:41:05

@afxgroup

Is that a paste error? Do you mean

struct SignalSemaphore locale_lock AllocSysObject(ASOT_SEMAPHORE,NULL)


The other thing is the other example is a struct variable on the stack so it must be different code compared to your AllocSysObject () code returning a pointer, yeah? I'm assuming since the stack-based code is in a single function, could you show us the code in that function for both scenarios?



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project