You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haxe
Thanks for your help but I need a simple example to learn and apply it. I am a newbie and I can't spend time to dig into such a large code due to other constraints. I'm only evaluating the language.
I need two haxe classes each running a thread and one class sending a complex data structure for example a list, deque etc to another thread. This data structure must be a member of the class which sends the message. It must work!
Thanks again!
Kind Regards, HaxeL
Constantine
unread,
Nov 10, 2016, 5:30:43 AM11/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haxe
I've read the example but it is running in the same class. I want to run it across classes.
I did try various possibilities but it never worked, it so happened that I posted a code which contained a line which shouldn't have been there: cThread.sendMessage(myThread); I can't say if this is the only error I've made.
Please enlighten me what's wrong about that part of the code or anywhere in the code which I posted earlier. I've no experience with interpreted languages and that too with Haxe which is far away from my competences. And in my domain, there is no place for interpreted languages.
I don't want to be rude but, frankly, if it is that hard for anyone in the community to explain to new comers, learner, it becomes very easy for me to write it off in my evaluation. For a language that exists since 10 years and examples hard to find, I wouldn't even bother if it wasn't for the community support.
Look at Qt on the other hand, tonnes of examples and information on the web.
Thanks in advance if you can spare a few mins to help.
HaxeL
unread,
Nov 10, 2016, 11:15:13 AM11/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haxe
I'm glad to share that I found the problems, fixed them and now my program is running.
Changes: Producer.hx cThread.sendMessage(myThread); //Removed cThread.sendMessage(list); // Doesn't matter if it is there or not
Consumer.hx var list:List<Float> = Thread.readMessage(true); // arg changed from false to true
I hope this helps others.
Thanks ! HaxeL
Rafael Oliveira
unread,
Nov 10, 2016, 11:38:30 AM11/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haxe
About haxe examples in general, you can take a look here: