???????????, 4 ??????? 2013, 15:22 +01:00 ?? David Matthews <David.Matthews at prolingua.co.uk>:
On 04/08/2013 06:13, ??????? ?????????? wrote:
Hi,
Please forgive me for troubling you but I have a small question. Whether it is possible to make callback from C to PolyML from threads that not created by Poly/ML ?
Thanks, Dmitry
Hi Dmitry, That's actually a very good question. At the moment it will not work and will result in a segmentation fault. Do you have an application that needs this? I don't think it would be hard to achieve.
Regards, David
Hi, David
Thank you for response. Yes I 'translate' multithreading C application to Poly/ML (and it crashes in these callbacks) and I thought I do something wrong.
Let me ask you one more question? Whether you recommend to use Poly/ML for programs working in a mode 7/24? (Whether it is possible to be sure of that the memory expense never will exceed --maxheap?)