Xilkernel: Using the shared memory API

Hi peoples, This could be a stupid question and I sincerely hope not. I'm not a coder -- I'm a EE signal/systems kid who's picked up the skill lightly over the years out of neccessity (never really did it as a hobby often either). Not to say I don't like coding -- just never had the time to explore it so much in my free time.

ANYWAYS. Onto the question -- it's geared towards those who work with xilkernel. I have the whole pthread/mutex/semaphore thing down, but the shared-memory API documentation is...lacking. I know how to instantiate it and call the functions, etc., but how do I write and read data from it!?

There is a data struct, but it does not contain a payload/buffer -- just some basic information about the shared memory. I've also googled around quite a bit for xilkernel shared memory stuff, but with absolutely no luck finding anything tangible that could help me out.

So -- any xilkernel coders out there who've worked with shared mem who might be able to help me? Thanks for your time all!

-Scott Novich

Reply to
MKULTRA2
Loading thread data ...

NEVERMIND.

function void* shmat returns the start addr. of the shared mem. segment on success.

I always understand things moments after I email/post about them -- does this happen to anyone else? Sorry.

-Scott

snipped-for-privacy@gmail.com wrote:

Reply to
MKULTRA2

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.