Hi all!
-- I am new in Smalltalk and even any other programming languages. The reason I looked at Smalltalk is its absolutely cool and even killing syntax. And the best way to study a language is to start program in it - and I started. The problem is that when some class calls a method in another non-visual part with the aim to create a tcp/ip connection I got an error as in the picture. I founded out that the error appears only when I call this method from the modifyVerify callback. When this method is called from self class or another part out of the callback function, it works as expected and without any bugs. And it seems the problem is with 'AbtSemaphore wait' statement. Searched the documentation but nothing helpful found. Any ideas how to resolve this "strange behavior"? Use VA Smalltalk 8.6.2. Regards, Sergei. You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. 02.jpg (122K) Download Attachment 03.jpg (133K) Download Attachment 04.jpg (123K) Download Attachment 05.jpg (123K) Download Attachment 06.jpg (106K) Download Attachment 01.jpg (141K) Download Attachment |
Hello Sergei - What you are seeing is expected behavior. In VA Smalltalk you are not allowed to do a wait in a callback. Doing so would deadlock the system.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hello John!
-- Thank you for the answer. I`m glad to know this is an expected behavior. And it means I have to redesign some part of the code... It`s so hard for newbie... среда, 11 января 2017 г., 20:47:30 UTC+3 пользователь John O'Keefe написал:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |