[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
I am trying to write a multi-core processor simulator . I want 256 of them run as simultaneous threads. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Strange-issue-with-threads-tp2823464p4728565.html Sent from the Free Pascal - General mailing list archive at

[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
Thanks, this definitely helps at least the reason why it is breaking. I am not sure how to get around it though. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Strange-issue-with-threads-tp2823464p4728549.html Sent from the Free Pascal - General mailing list arc

[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
I followed the bug report http://bugs.freepascal.org/view.php?id=13798 and it says that it is resolved and closed. I am using fpc 2.4.4 on Windows XP. Like Luca Olivetti I am trying to create 256 threads, but it chocks at 121 saying : An unhandled exception occurred at $0041099C : EThread : Fai