This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Message boxes



On 04-Jun-2001 Alfredo Carrillo wrote:
> Hi,
> 
> I am using message boxes for exange information between two threads, but 
> need to pass a structure, not only simple data as 'int' or 'char'. When
> I compile my program, the compiler shows as follows:
> 
> cannot convert from type 'MyTYPE' to type 'void*'
> 
> How could I use types defined by me to interchange info?
> 
> Thanks a lot for any inormation.

One way is to use the message box to pass pointers to these more complex
data.  They, in turn, will need to come from some pool which your program
would have to manage.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]