Question about Task management, threads and other foes in flash builder?

Based on your description you don't seem to be doing anything new and that unique. I'd start first with researching existing task and concurrency solutions. If they won't do what you want, extending the code will probably still be easier than starting from scratch Get familiar first with Cairngorm 3 Tasks and/or Parsley Tasks Also take a look at the callLater() method Finally there is the GreenThreads project.

Based on your description you don't seem to be doing anything new and that unique. I'd start first with researching existing task and concurrency solutions. If they won't do what you want, extending the code will probably still be easier than starting from scratch.

Get familiar first with Cairngorm 3 Tasks and/or Parsley Tasks. Also take a look at the callLater() method. Finally there is the GreenThreads project.

Yes, this libs do what I was describing. Thanks a lot. A pitty I don't have enough reputation to vote yet.

– user777231 May 31 at 7:56 Why vote? Accept the answer... – J_A_X Jun 1 at 14:16.

I'm building a simple task manager that will at this moment execute tasks in a serial manner. I have been reading about threads in flex and it seems it is not quite clear/prepared for real threads. What I'm looking at this moment is a way to execute a method at the beginning or end of a flash builder update.

This method will be the one that will take the responsibility to start tasks added in the previous update. The removing of finished tasks will be done through event notification (the task will notify it finished) then the scheduler will remove it and dispatch the message again to let the outside world know the task was over. 1) Add Tasks to the scheduler.

2) At the beginning/ End of a flex update (don't know if this really happen) Start tasks waiting. And run tasks that have a runnable method per update. 3) When a task finishes it notifies the scheduler and it is removed from the scheduler queue and redispatches the event to let the outside world the task finsihed.

Could anybody suggest the correct place to have a method like this? Any suggestion to the scheduler?.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions