At 08:46 p.m. 11/09/2006, liurong_jie wrote:
>Hi!I am a new to Alchemi.Recently I write a program about parallel file 
>reading.But I found the ThreadFinish method did not execute.I don not know 
>why.Can you give me some information about this?
>

If one or more of the executors are stopped when they are processing 
threads then you may have the same issue I reported: [ 1497523 ] 
Rescheduled thread does not reset the executor ID (see 
http://sourceforge.net/tracker/index.php?func=detail&aid=1497523&group_id=66729&atid=515536

The most common problem with multiple threads executing in parallel that 
I've seen (mostly the bugs and their fixes for Alchemi itself) is the race 
condition (which is probably the cause of the above bug) where you have a 
resouce accessed by a number of threads, each of which read the resource's 
state, do some processing, and then change the resource's state. The 
problem is when Thread1 changes the resource's state after Thread2 has read 
it and has started doing some processing dependent on that previous state 
but before its ready to write the state back. Then when Thread2 is finished 
it overwrites the state change that Thread1 did.

-------------------------
Reece Arnott
Learning Environments Specialist
School of Business
University of Otago
Dunedin
New Zealand

[EMAIL PROTECTED]
-------------------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
alchemi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-users

Reply via email to