foundrycf / fpm

a package manager for foundry
http://fpmcf.org/
4 stars 2 forks source link

fpm and events and async... #12

Closed jfrux closed 12 years ago

jfrux commented 12 years ago

I'm wondering if we should just clear out all of the event emitter junk and all the bindings at first and just run everything synchronously in a predictable environment and when we're done with that, we can then add threads around things that need them and maintain a nice asynchronous flow.

It would be nice if there was a cfc that would manage threads for you...?

Maybe it would be something like the emitter.cfc but would be threaded and maintain scope and remember all of it's threads it's created without fearing which threads are running and which have what variables...?

Just dreaming here...

russplaysguitar commented 12 years ago

probably a good idea to start simple, not sure what cfc is best at thread management

jfrux commented 12 years ago

Progress on this has been implemented, it's now without emitters for now... but not for long!